sainathk21

Results comments of sainathk21

For the sake of Completeness, This is my code for connect.php - getRequestToken(OAUTH_CALLBACK); $_SESSION['oauth_token'] = $token = $request_token['oauth_token']; $_SESSION['oauth_token_secret'] = $request_token['oauth_token_secret']; $redirect_url = $tweet->getAuthorizeURL($request_token); header('Location: ' . $redirect_url); ?>

I'll try that right now, thank you for the fast response!

Okay, I did it this way now - Connect.php -> Redirect.php -> tweet.php (Same as index.php). Now the twitter redirection page takes a loooong time, and then I get this...

One important thing, My connect.php also has the redirect part of the code which redirect.php has in your demo. i.e : Connect.php : Requests tokens and redirects user to api.twitter.com...

Ah as I mentioned earlier, I wrongly named Callback.php as Redirect.php :) (It contains all the code from callback.php except for the check to see if oauth_token is old). Wait...

Okay file structure is now this - 1) Connect.php (Also contains code for Redirect.php, I am trying to keep them both is the same page) 2) Callback.php 3) Index.php So...

Managed to get it to work, Thank you! (I have a slightly different question which I will ask in a separate discussion)

Hi Shiva, Thanks for the response. I tried this, but oauth_verifier still has no value..

Hi, Sorry for the late response. @abraham : Thank you for that! I had immense difficulty understanding exactly what it was! @siva1117 : I'll put up some code very shortly...