Closed RizwanSFDC closed 7 years ago
It looks like you are not redirecting the user to twitter.com to authorize access and then you are not exchanging the request token for an access token.
Make sure you are following the full sign in with twitter flow as described through https://twitteroauth.com/redirect.php and the following pages.
Thank you so much :),now its working fine
hello:) @abraham, how are you !
these days , i'm develop some api with your twitterauth , that cool.
and i'm doing this https://twitteroauth.com/redirect.php content success, i got these oauth_token and oauth_token_secret and users could doing authorizing...
but how can i get the twitter user info like name or uid ? , in actually i want the unique user id, i didn't found any doc or faqs from twitteroauth.com.
and fond some problam like
private function pharRunning() { return false; //return class_exists('Phar') && !empty(\Phar::running(false)); }
i'm fixed like that can be work.
$totken = $connection->oauth("oauth/access_token", ["oauth_verifier" => $oauth_verifier]);
and this place thow a exception message was 此功能暫時無法使用
thanks. andyhua.
@andyhua open a new issue
Dear abraham, i used the your twitteroauth library.by using this iam getting token and token secret but while sending tweet it shows an error : [code] => 220 [message] => Your credentials do not allow access to this resource Please check this and correct me if am doing any wrong here.
TestTweet.php.
Response :
Array ( [oauth_token] => FPNJHwAAAAAAyMzhAAABWQNBBfo [oauth_token_secret] => xOoU9Ywub4KljjbDy8WWcfEee612FvBZP [oauth_callback_confirmed] => true ) Handle error case
stdClass Object ( [errors] => Array ( [0] => stdClass Object ( [code] => 220 [message] => Your credentials do not allow access to this resource. )
)