Hi,
My app have strange issue with rest API 1.1 mention endpoint.
One (maybe some others) account (user oauth data) Twitter API doesn’t return mentions, but I know - this account have mentions.
Other accounts this problem doesn’t exist.
Response header:
{ date: 'Tue, 23 Oct 2012 14:05:57 GMT',
status: '200 OK',
'x-frame-options': 'SAMEORIGIN',
'content-length': '2',
'x-transaction-mask': 'xxx',
'x-access-level': 'read-write-directmessages',
expires: 'Tue, 31 Mar 1981 05:00:00 GMT',
'content-type': 'application/json; charset=utf-8',
etag: '"xxx"',
pragma: 'no-cache',
'x-transaction': '77d7a9f05543f50d',
'last-modified': 'Tue, 23 Oct 2012 14:05:57 GMT',
'x-runtime': '0.04656',
'x-mid': 'xxx',
'cache-control': 'no-cache, no-store, must-revalidate, pre-check=0, post-check=0',
'set-cookie':
[ 'k=10.35.102.138.1351001157747867; path=/; expires=Tue, 30-Oct-12 14:05:57 GMT; domain=.twitter.com',
'guest_id=v1%3A135100115775133241; domain=.twitter.com; path=/; expires=Fri, 24-Oct-2014 02:05:57 GMT',
'dnt=; domain=.twitter.com; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT',
'lang=en; path=/',
'lang=en; path=/',
'lang=en; path=/',
'twid=xxx; domain=.twitter.com; path=/; secure',
'_twitter_sess=xxx%250xx--xxx; domain=.twitter.com; path=/; HttpOnly' ],
vary: 'Accept-Encoding',
'x-rate-limit-limit': '15',
'x-rate-limit-remaining': '13',
'x-rate-limit-reset': '1351002048',
server: 'tfe' }
Response body:
[]
Request header:
GET /1.1/statuses/mentions_timeline.json?count=10 HTTP/1.1\r\nAuthorization: OAuth oauth_consumer_key="xxx",oauth_nonce="xxx",oauth_signature_method="HMAC-SHA1",oauth_timestamp="1351002402",oauth_token="xxx",oauth_version="1.0",oauth_signature="xxx"\r\nHost: api.twitter.com\r\nAccept: */*\r\nConnection: close\r\nUser-Agent: ntwitter/0.2.8\r\nContent-length: 0\r\nContent-Type: application/x-www-form-urlencoded\r\n\r\n
Incorrect request
All other API requests of this oauth data are OK, but only mention API request fails.
- Other account (oauth data) mention requests are OK.
Thank you!