Here's the code:

   client = TwitterOAuth::Client.new(
    :consumer_key => SAFETWEET_CONSUMER_KEY,
    :consumer_secret => SAFETWEET_CONSUMER_SECRET,
    :token => chan.safetweet_access_token,
    :secret => chan.safetweet_access_secret
    )

    ret = client.update_profile(:url => 'test')


Any ideas?

On Dec 18, 1:52 am, "Gary Zukowski" <[email protected]> wrote:
> I'm getting the following error when trying to do a simple update_profile:
>
> client.update_profile(:url => '')
>
> JSON::ParserError: 665: unexpected token at '<?xml version="1.0"
> encoding="UTF-8"?>
>
> <hash>
>
>   <request>/1/account/update_profile</request>
>
>   <error>Could not authenticate with OAuth.</error>
>
> </hash>
>
> '
>
> Any ideas?
>
> Thanks,
>
> Gary Zukowski

-- 
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

Reply via email to