opauth / twitter

Twitter strategy for Opauth
37 stars 52 forks source link

The Twitter REST API v1 is no longer active. Please migrate to API v1.1. #28

Open maitret opened 8 years ago

maitret commented 8 years ago

Authentication error: Opauth returns error auth response. Array ( [error] => Array ( [provider] => Twitter [code] => 410 [raw] => {"errors":[{"message":"The Twitter REST API v1 is no longer active. Please migrate to API v1.1. https://dev.twitter.com/docs/api/1.1/overview.","code":64}]} )

[timestamp] => 2015-11-30T01:27:02+00:00

)

atishrajput commented 8 years ago

change 'verify_credentials_json_url' => 'https://api.twitter.com/1/account/verify_credentials.json',

to

'verify_credentials_json_url' => 'https://api.twitter.com/1.1/account/verify_credentials.json',

in TwitterStrategy.php ( inside strategy folder ) :) :) :+1:

yadav786 commented 7 years ago

i got this error stdClass Object ( [errors] => Array ( [0] => stdClass Object ( [message] => The Twitter REST API v1 is no longer active. Please migrate to API v1.1. https://dev.twitter.com/docs/api/1.1/overview. [code] => 64 ) ) )