PHPoAuthLib icon indicating copy to clipboard operation
PHPoAuthLib copied to clipboard

Twitter App OAuth (OAuth2) implemention

Open Gomes81 opened this issue 10 years ago • 2 comments
trafficstars

I'm trying to implement OAuth2 on twitter (for App OAuth). In order to accomplish this I created a class TwitterApp in the OAuth2 folder, but now in the requestAccessToken method I need to change the $bodyParams['grant_type'] to 'client_credentials' instead of 'authorization_code'. Am I doing it right? If I doing it right there should also be a method AbstractService::getExtraOAuthBody(), right?

Gomes81 avatar May 12 '15 18:05 Gomes81

Hello, can you please report an issue (about getExtraOAuthBody) to updated library, so I will be able to make a fix for this issue. Thank you for suggestion, btw

logical-and avatar May 26 '15 11:05 logical-and

Hi, sorry for my late response, but is this lib deprecated? If so, why is not marked so yet? Is your library ready for production? Thanks

Gomes81 avatar Jan 06 '16 02:01 Gomes81