简体   繁体   English

如何将Twitter集成到我的iPhone应用程序中

[英]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 我正在将Twitter集成到我的iPhone应用程序中。当我输入用户名和密码并单击登录按钮时,它会将我导航到updateController页面,用户可以在其中发布推文,但是当我单击发布推文按钮时,它给我一个错误

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. http://twitter.com/statuses/update.xml ,我输入的评论不会发布到我的Twitter帐户中。

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. 您应该考虑使用Twitter OAuth而不是用户名/密码身份验证,因为Twitter将于8月16日停止对基本身份验证的支持。

Here are some Obj-C OAuth libraries that Twitter recommends to get you started: http://dev.twitter.com/pages/oauth_libraries#objectivec 以下是Twitter建议您入门的一些Obj-C OAuth库: http : //dev.twitter.com/pages/oauth_libraries#objectivec

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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