Twitter Error: Communication with the service provider failed: api.twitter.com

谁说胖子不能爱 提交于 2019-12-11 19:06:37

问题


I am creating a twitter sharing by using sugree's twitter-android-sdk. So when the activity starts i am calling..

Twitter tweet = new Twitter(R.drawable.icon);
     tweet.authorize(this, null, "XXXXXXXXXXXXXX", "XXXXXXXXXXXXXX", new TwitRequestListener());

I was working fine befor. But suddenly i started getting this error:

04-25 12:03:28.346: DEBUG/twitter(458): Login failed: com.sugree.twitter.DialogError: Communication
with the service provider failed: api.twitter.com

Thanks in advance,
Aby


回答1:


Problem was with the twitter server. It started working from next day.



来源:https://stackoverflow.com/questions/5782103/twitter-error-communication-with-the-service-provider-failed-api-twitter-com

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!