Reputation: 713
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
}
Upvotes: 0
Views: 129
Reputation: 898
I would suggest that you please re-test with the revision f2265fc. I have recently added support for the account activity API to Codebird …
Upvotes: 0
Reputation: 364
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.
Upvotes: 2