Reputation: 4105
I am trying to access the Twitter direct messaging API.
I have set up an app and set the permissions to Read, write, and direct messages
:
However, when I test the application and see the authorisation screen, direct messaging is not included in the permission list:
I have tried creating fresh applications, resetting the keys once the permission have been changed and only creating the access tokens once the permissions have been updated. However, I still cannot get the Read, write, and direct messages
permissions to kick in.
I am using HybridAuth as a framework to acccess the Twitter API.
I note this question, however no answer has been provided as the solution may have been established in a chat session which is longer available.
Upvotes: 1
Views: 602
Reputation: 111
edit
hybridauth\Hybrid\Providers\Twitter.php
find
$this->api->authorize_url = "https://api.twitter.com/oauth/authenticate";
replace by
$this->api->authorize_url = "https://api.twitter.com/oauth/authorize";
cf: https://dev.twitter.com/discussions/1253
Upvotes: 2