AndroidExamples icon indicating copy to clipboard operation
AndroidExamples copied to clipboard

oauth.signpost.exception.OAuthCommunicationException: Communication with the service provider failed: null

Open EhsanAli18 opened this issue 9 years ago • 4 comments

It is giving this error when I open the activity with my Consumer key and consumer secret

EhsanAli18 avatar Feb 25 '16 13:02 EhsanAli18

Not enough detail. There's multiple pieces of OAUTH code here. You also need to give it 4 keys, not two.

RobertSzkutak avatar Feb 25 '16 13:02 RobertSzkutak

You mentioned in the project that I need to give my ConsumerKey and ConsumerSecret, what else do I need to change in it?

EhsanAli18 avatar Feb 25 '16 13:02 EhsanAli18

Depending on which app you're looking at you may also need the access token and access token secret. At the very least, adding those can help guarantee you're authenticating correctly which could make the problem youre experiencing easier to diagnose once you have a successful, reproducible test.

RobertSzkutak avatar Feb 25 '16 15:02 RobertSzkutak

Oh okay, I will try do it this way. Thanks for your reply sir.

EhsanAli18 avatar Feb 25 '16 15:02 EhsanAli18