I was searching solution for the error,
"oauth.signpost.exception.OAuthCommunicationException: Communication with the service provider failed: Service provider responded in error: 403 (Forbidden)" in android social sharing app that require twitter login. Finally found the problem with oauth urls.
Here's how to solve it.
Change,
Hope this helps!
"oauth.signpost.exception.OAuthCommunicationException: Communication with the service provider failed: Service provider responded in error: 403 (Forbidden)" in android social sharing app that require twitter login. Finally found the problem with oauth urls.
Here's how to solve it.
Change,
public static final String REQUEST_URL = "http://api.twitter.com/oauth/request_token";To
public static final String ACCESS_URL = "http://api.twitter.com/oauth/access_token";
public static final String AUTHORIZE_URL = "http://api.twitter.com/oauth/authorize
public static final String REQUEST_URL = "https://api.twitter.com/oauth/request_token";Summary : change http to https and error got fixed.
public static final String ACCESS_URL = "https://api.twitter.com/oauth/access_token";
public static final String AUTHORIZE_URL = "https://api.twitter.com/oauth/authorize";
Hope this helps!