[twitter-dev] TwitterOAuth fails in getRequestToken()

2010-10-29 Thread José Luis
I'm trying TwitterOAuth's examples and have come across the following
problem. When Signing in the redirect.php page doesn't redirect to any
page. Tracing it the script dies when doing:

/* Get temporary credentials. */
$request_token = $connection-getRequestToken(OAUTH_CALLBACK);

If I put an echo before it prints. If I put it afterwards no message
gets printed.

What could be going wrong and how could it get fixed?

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] TwitterOAuth fails in getRequestToken()

2010-10-29 Thread Abraham Williams
What does printing $connection-http_code after making the call return?

Abraham
--
Evobots configured this transmission while traveling at 50 billion times the
speed of light.
On Oct 29, 2010 3:38 PM, José Luis jlgon...@ya.com wrote:
 I'm trying TwitterOAuth's examples and have come across the following
 problem. When Signing in the redirect.php page doesn't redirect to any
 page. Tracing it the script dies when doing:

 /* Get temporary credentials. */
 $request_token = $connection-getRequestToken(OAUTH_CALLBACK);

 If I put an echo before it prints. If I put it afterwards no message
 gets printed.

 What could be going wrong and how could it get fixed?

 --
 Twitter developer documentation and resources: http://dev.twitter.com/doc
 API updates via Twitter: http://twitter.com/twitterapi
 Issues/Enhancements Tracker:
http://code.google.com/p/twitter-api/issues/list
 Change your membership to this group:
http://groups.google.com/group/twitter-development-talk

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk