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

2011-07-07 Thread Matt Harris
Hey oosswwaalldd, The code you pasted above is the example auth.php file which shows how to do each form of OAuth with the Twitter API. The method it uses when performing the OAuth flow depends on which option you choose from the page. If you use any of the Sign in with Twitter links you won't be

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

2011-07-07 Thread oosswwaalldd
Thanks! very helpful! On Jul 7, 7:12 pm, Matt Harris thematthar...@twitter.com wrote: Hey oosswwaalldd, The code you pasted above is the example auth.php file which shows how to do each form of OAuth with the Twitter API. The method it uses when performing the OAuth flow depends on which

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

2011-07-05 Thread oosswwaalldd
I am little bit confused, I understood that the problem was solved by changing to FALSE in this line function getAuthorizeURL($token, $sign_in_with_twitter = TRUE) { in twitteroauth.php, but I am reading from you that the change is not in this file. In my code the only call I have to

Re: [twitter-dev] Re: 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 TRUE to FALSE in twitteroauth.php you pass FALSE as the second parameter when you call the getAuthorizeURL method. This is only used when a (generally) unauthenticated user gets redirected to twitter.com with a request token to allow access to their account. For all

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

2011-07-05 Thread oosswwaalldd
Turns out I use themattharris lib to get the login credentials (token and token_secret) which I store on my db, and Abraham lib (yours) to interact with Twitter once I am authenticated. I know this is not you lib but Matt Harris's, but can you help me please to know where in the mattharris lib