1.1 statuses/update never returns; terminates script
I have a solid connection, can query user time line: $results = $twitter->get('statuses/user_timeline', $params);
I can get user info and do most anything BUT I can't post... well, that's not really true, it DOES post but the post NEVER returns.
$tweet = array('status' => $message,
'in_reply_to_status_id' =>$tweetback['tw_topicid']);
// post the tweet
$response = $twitter->post('statuses/update', $tweet);
That last line does post $message in reply to the tweet but it never returns and the entire script terminates.
Any ideas?
Did you check some logs at your server? Eg /var/logs/apache2/error.log (if you use Apache2 on your one server)
Did you enable the logs on your server? Optionally via htaccess
it never returns and the entire script terminates
seems like an exception, should be thrown
somewhere. On most production servers, this will be in a file, on dev servers on the browser/script itself.
On 19 Aug 2013, at 18:21, ppetree [email protected] wrote:
I have a solid connection, can query user time line: $results = $twitter->get('statuses/user_timeline', $params);
I can get user info and do most anything BUT I can't post... well, that's not really true, it DOES post but the post NEVER returns.
$tweet = array('status' => $message, 'in_reply_to_status_id' =>$tweetback['tw_topicid']);
// post the tweet $response = $twitter->post('statuses/update', $tweet); That last line does post $message in reply to the tweet but it never returns and the entire script terminates.
Any ideas?
— Reply to this email directly or view it on GitHub.
Probably an issues with your code.