With API v1.1 coming into play, and the subsequent blackouts leading up to it, it took me a while to realize I needed to update my PHP scripts. All these scripts do is post to my Twitter account updates to my site, people who won contests, etc., allowing me to free up time for other pressing matters.
My problem now, however, is that I’m at a total loss…I can’t wrap my head around the changes…I’ve downloaded Abraham’s latest Twitteroauth package, and have tried numerous methods for posting, and nothing seems to be working…so I throw myself on the mercy of those of you with sharper minds than my own.
My old script was easy:
session_start(); $connection = new TwitterOAuth ($consumer_key ,$consumer_secret , $access_key , $access_secret ); $content = $connection->get('account/verify_credentials'); $connection->post('statuses/update', array('status' => $tmessage));</code> But with the new APIs, this isn't working (naturally), and try as I might, I can't get them working using what I believe to be the right approach, from reading these support boards over the last couple of weeks. I've tried a variety of methods, but ultimately, I'm not sure exactly what I'm doing. Can anyone help a poor old sad sack make it here?