twitter api always give "Sorry, that page does not exist" error for deleted tweets
Twitter 404 - message":"Sorry, that page does not exist","code":34
Hi, I have read the above questions but the suggestions don't fix it for me.
I have a page on my site that lets users authenticate my twitter application that then posts a tweet on their timeline.
The API is returning {"errors":[{"message":"Sorry, that page does not exist","code":34}]}
in the JSON response.
If I follow the suggestions I have read in other questions, changing the EpiTwitter class from
const EPITWITTER_SIGNATURE_METHOD = 'HMAC-SHA1';
protected $requestTokenUrl = 'http://twitter.com/oauth/request_token';
protected $accessTokenUrl = 'http://twitter.com/oauth/access_token';
protected $authorizeUrl = 'http://twitter.com/oauth/authorize';
protected $apiUrl = 'http://twitter.com';
to
const EPITWITTER_SIGNATURE_METHOD = 'HMAC-SHA1';
protected $requestTokenUrl= 'https://api.twitter.com/oauth/request_token';
protected $accessTokenUrl = 'https://api.twitter.com/oauth/access_token';
protected $authorizeUrl = 'https://api.twitter.com/oauth/authorize';
protected $authenticateUrl= 'https://api.twitter.com/oauth/authenticate';
protected $apiUrl = 'https://api.twitter.com';
protected $searchUrl = 'http://search.twitter.com';
doesn't work either, when the login link is generated by the app it goes to https://api.twitter.com/oauth/authorize?oauth_token= which says there was no request token for this page.
Does anyone have any ideas on how to resolve this?