Bad Authentication data

@cmo_engage cmo_engage

I am getting Bad Authentication data as error message with code = 215
when i followed the below link
This is the code that was given in that link

  2. function getConnectionWithAccessToken($oauth_token, $oauth_token_secret) {
  3.   $connection = new TwitterOAuth(CONSUMER_KEY, CONSUMER_SECRET, $oauth_token, $oauth_token_secret);
  4.   return $connection;
  5. }
  6. $connection = getConnectionWithAccessToken("abcdefg", "hijklmnop");
  7. $content = $connection->get("statuses/home_timeline");

please help me
Thanks in advance

1 year 29 weeks ago


@webcubs Roman Bogdan

I'm having the same issue with the single user in PHP

1 year 21 weeks ago
@CreativityKills CreativityKills

Did you remember to add your URL to the authorized url list. I made this mistake and it took me hours to figure out. Slight oversight if you will

1 year 10 weeks ago
@acwag_org_uk acwag

Hi, can you explain what you mean by this? I realise you posted this quite some time ago but have just run into this problem and would like to fix it asap

38 weeks 19 hours ago