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.com
Can you have idea where problem is?
Have you added internet permission to your
AndroidManifest.xml?<uses-permission android:name="android.permission.INTERNET" />