mattgemmell / MGTwitterEngine

Objective-C Twitter integration library for Mac OS X and iPhone. Official repository.
http://mattgemmell.com/source
1.14k stars 164 forks source link

MGTwitterEngine for send update #81

Closed ankurdiyora closed 13 years ago

ankurdiyora commented 13 years ago

Hi, I have access token, token secret & username. Using that i want to post message(sendUpdate) from iPhone. I am trying to set this parameter in MGTwitterEngine class. But in sendUPdates its gives me error:The operation couldn’t be completed. (HTTP error 401.) So how can post message?

Thank you...

catsby commented 13 years ago

A 401 error, as defined here ( http://www.checkupdown.com/status/E401.html ) indicates you are not authorized.

Make sure you've read and completed the steps here: https://dev.twitter.com/pages/xauth

And are familiar with using xauth in MGTwitterEngine, which is described here: http://www.2bros1blog.com/2010/07/switching-from-basic-to-xauth-with-mgtwitterengine-on-iphone/