Hi all,
I got a bit stuck I'm afraid.
I have a single user application. Using the code below, I can post a
status update. However, I would like to receive the id of that last
update.

include('oAuth/twitteroauth.php');
define("CONSUMER_KEY", "***");
define("CONSUMER_SECRET", "***");
define("OAUTH_TOKEN", "***");
define("OAUTH_SECRET", "***");
$connection = new TwitterOAuth(CONSUMER_KEY, CONSUMER_SECRET,
OAUTH_TOKEN, OAUTH_SECRET);
$content = $connection->get('account/verify_credentials');
$connection->post('statuses/update', array('status' => 'text to
post'));


Anyone with a clue? Thx in advance! :)

-- 
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?hl=en

Reply via email to