0

Actually I want to register a webhook for Twitter.For this purpose I'm using codebird.But while trying to register the webhook and the response as "httpstatus : 403"

$url        = 'https://<domain>/webhook/twitter_webhook';
$params     = ['url'=>$url,'env_name' =>'<TITLE>'];
$response   = $this->api->accountActivity_all_ENV_NAME_webhooks($params);

Error Response


  {#1001 
      +"errors": array:1 [
      0 => {#1004
      +"code": 200
      +"message": "Forbidden."
     }
    ]
   +"httpstatus": 403
   +"rate": null
  }
ArunJaganathan
  • 695
  • 2
  • 7
  • 20

2 Answers2

2

Currently this is a bug in this package. please check https://github.com/jublo/codebird-php/issues/244.

Please Try using https://twitteroauth.com/

Thanks.

sadaiMudiNaadhar
  • 354
  • 1
  • 12
0

I would suggest that you please re-test with the revision f2265fc. I have recently added support for the account activity API to Codebird …

mynetx
  • 878
  • 7
  • 25