Hi
I am facing The Issue in getting the Access token For Twitter
-
In Windows I am able to generate the access token successfully using sign-in-twitter method.
-
When i tried to deploy in the Linux(tomcat server) i am getting the 401 Unauthorized error…
For https://api.twitter.com/oauth/request_token
Response i am getting …
http response : HTTP/1.1 401 Unauthorized
[cache-control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0,
content-length: 44, content-type: text/html; charset=utf-8,
date: Tue, 21 May 2013 14:59:41 GMT, expires: Tue, 31 Mar 1981 05:00:00 GMT,
last-modified: Tue, 21 May 2013 14:59:41 GMT,
pragma: no-cache, server: tfe,
set-cookie: _twitter_sess=BAh7CDoHaWQiJWRkZmFlOTQwOGE0NzMxY2E2MGRmMWJhYjdmMTE0ZGU0Og9j%250AcmVhdGVkX2F0bCsIBVuaxz4BIgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy%250AOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA–b443e454dd6978065d01c66dab1d4bab7b12b1a3;
domain=.twitter.com; path=/; HttpOnly,
set-cookie: guest_id=v1%3A136914838194546230;
Domain=.twitter.com; Path=/; Expires=Thu, 21-May-2015 14:59:41 UTC,
status: 401 Unauthorized, strict-transport-security: max-age=631138519,
vary: Accept-Encoding, x-frame-options: SAMEORIGIN, x-mid: 2fe33275026baf8bfe76aad15be713ee0e043706,
x-runtime: 0.01648, x-transaction: 6febc9ccdcce8bca, x-xss-protection: 1;
mode=block]
Is anything to be changed in Linux Server… because when with windows it is working fine i am able to get the access token.