iphoneobjective-coauthtwittermgtwitterengine

How to send direct message with Twitter?


in my iphone application i have to send direct message throughout twitter, the problem is that twitter had changed the authentication from basic authentication to oauth and tutorial on the Web are out of date

so i use SAOauthTwitterEngine for the authentication part and all ok. but these classes don't use the api, so i have to use MGTwitterEngine for this.

the problem is that MGTE dont have oauth but only xauth and basic authentication, and i cant use this together anyone know how to do it? or know a tutorial that explain it.

thanks a lot.


Solution

  • i suggest you OAuth because xAuth requires you to send an email to twitter askeing them to give you the permission, and you have to write a reort on your application (this isn't good for a testing app) have you tried this? https://github.com/bengottlieb/Twitter-OAuth-iPhone