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" />
精彩评论