How do I use verify credentials?


In my PHP this is what I have…

$oTweet = new TwitterOAuth($sConsumerKey, $sConsumerSecret, $user->user_info[‘oauth_token’], $user->user_info[‘oauth_secret’]);
$credentials = $oTweet->get(“account/verify_credentials”);
$oTweet->post(‘statuses/update’, array(‘status’ => $tweetmessage));
Delete my local data because the user revoked access, or something else happened… whatever.

Or is there another way, my main thing is… if someone revokes acess I want to be able for the site to delete my local database information about the users tokens.

closed #2

closed #3