开发者

The issue with access to twiiter via socioLib in Android

In my app I should use socioLib and write simple code to get access to twitter:

TwitterConnector twitter = SocialNetworkHelper
            .createTwitterConnector(CONS_KEY, CONS_SEC, CALLBACK);
    try {
        twitter.requestAuthorization(this);
        twitter.authorize(this);
    } catch 

When I run this code I catch esception:

oauth.signpost.exception.OAuthCommunicationException: Communication with the service provider failed: api.twitter.c开发者_JAVA百科om

Can you have idea where problem is?


Have you added internet permission to your AndroidManifest.xml?

<uses-permission android:name="android.permission.INTERNET" />

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜