Thanks for sharing the code. The change notice was here [1] for posterity.

1.
http://groups.google.com/group/twitter-development-talk/browse_frm/thread/5822fbfd5ea857c6/1e6e14b9c96f74ca#1e6e14b9c96f74ca

Doug Williams
Twitter API Support
http://twitter.com/dougw


On Thu, Apr 9, 2009 at 6:52 PM, kosso <kos...@gmail.com> wrote:

>
> ... they appear to have changed the call from a POST to a GET.
>
> I didn't see an update/change about this.
>
> So, in PHP use:
>
> $to = new TwitterOAuth($consumer_key, $consumer_secret,
> $twitterOAuthToken, $twitterOAuthSecret);
> $content = $to->OAuthRequest('https://twitter.com/account/
> verify_credentials.xml<https://twitter.com/account/%0Averify_credentials.xml>',
> array(), 'GET');
>
>
> In the original example PHP scripts, the call was a POST, which used
> to work. Until I saw the API returning 'this method requires a GET.'
> this morning.
>
> hth
>

Reply via email to