简体   繁体   中英

how to integrate twitter in my iphone application

i am integrating twitter in my iphone application.when i am entering the username and password and clicking the login button it navigates me to the updateController page where user can post tweet but when i click on the post tweet button it gives me an error that

A server with the specified hostname could not be found. http://twitter.com/statuses/update.xml and the comment that i have entered does not get posted to my twitter account.

Please help me in solving this problem

You should really consider using Twitter OAuth rather than username/password authentication since Twitter will be dropping support for basic auth on August 16.

Here are some Obj-C OAuth libraries that Twitter recommends to get you started: http://dev.twitter.com/pages/oauth_libraries#objectivec

我认为大家的想法都正确,但是您必须对此行发表评论[newCredential版本];

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM