[twitter-dev] Changed to authorizeURL; get the proper permission, but now get 401, 401 after one call

2011-07-05 Thread PeriVisioN
Very confused. I have abrahams API lib, works fine. After the change, I updated my apps permission and then changed the following in his code. function getAuthorizeURL($token, $sign_in_with_twitter = TRUE) { if (is_array($token)) { $token = $token['oauth_token']; } return

Re: [twitter-dev] Changed to authorizeURL; get the proper permission, but now get 401, 401 after one call

2011-07-05 Thread Abraham Williams
You don't need to change the code in twitteroauth.php. You just use $connection-getAuthorizeURL($token, false) to get the authorize URL instead of the authenticate URL. If you are having other issues it is likely unrelated to this change as the only difference is sending users to