We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I'm trying to use the streaming api, in the specific I'm using this
https://dev.twitter.com/streaming/reference/get/user
to get the timeline and I have it coded like this:
function user_timeline($token) { $tmhOAuth = new tmhOAuth($token); $code = $tmhOAuth->streaming_request( 'GET', 'https://userstream.twitter.com/1.1/user.json', array(), 'user_timeline_callback' ); if ($code == 200) { echo $tmhOAuth->response['response']; error_log ("CODE 200: OK: user timeline" . $tmhOAuth->response['response']); } else { echo json_decode("Error"); error_log ("CODE ERROR: " . $tmhOAuth->response['response']); } }
In the callback I only print the args for now.
After several seconds I get a upstream timeout error (110)
do you have a clue?
Thx
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, I'm trying to use the streaming api, in the specific I'm using this
https://dev.twitter.com/streaming/reference/get/user
to get the timeline and I have it coded like this:
In the callback I only print the args for now.
After several seconds I get a upstream timeout error (110)
do you have a clue?
Thx
The text was updated successfully, but these errors were encountered: