Hi Vijay,
For the situation you describe we provide a My Access Token page which you
can reach from the details page of your application. Just visit
http://dev.twitter.com/apps, follow the link to your applications details
and then click My Access Token on the right hand side. That page provides
you with the user token and secret for your account using that application.
Using these details you don't need to complete the OAuth handshake process
and can go straight onto making signed OAuth requests.
Hope that helps,
Matt
On Wed, Jul 7, 2010 at 10:40 PM, Vijay bvija...@gmail.com wrote:
Hi,
I am trying a server to server communication from my Java application
to my twitter account only.I assuming I have to use 2 legged OAuth/
xAuth to do this and avoid the browser redirection in the middle since
this user/twitter account is totally under my control and I will not
be using it for other users account and do not want to interact with a
browser during this interaction with the Twitter account.
Is this a correct assumption ? I was told that xAuth is a temporary
option provided by Twitter API folks.
TIA,
Vijay
On Jun 13, 12:01 am, Vijay bvija...@gmail.com wrote:
HI Matt,
Thanks for your response.
I tried using the oauth token and secret for the x_auth_username and
x_auth_password but that did not work for the 2 legged oauth that I am
trying to achieve using Twitter4J so that I don't get prompted for the
browser authorization that I am trying to avoid.I have sent a request
to the twittter api folks about it.I am not sure if that is the right
way to proceed.
Just to clarify.I have my own Twitter account and I have a web
application that wants to access my Twitter account private list of
followers.So, I setup a Twitter a/c and also an Application under that
a/c which gave me a consumer key/secret.Now, I have a web application
which accesses this Twitter a/c to get the private list of followers
without prompting a Browser prompt for user authorization(server to
server backend using 2 legged Oauth maybe ???)
TIA,Vijay
On Jun 12, 12:07 pm, Matt Harris thematthar...@twitter.com wrote:
HiVijay,
If you only want access to your own account then you can visit the
application details for your application onhttp://dev.twitter.com/apps.
On
that page you will find an option called My Access Token. This option
will
display the user token and secret for you to be able to access your
application.
Remember, this is only suited for your own account on your own
application.
Hope that helps,
Matt
On Fri, Jun 11, 2010 at 11:06 PM,Vijaybvija...@gmail.com wrote:
Hi,
Pardon my ignorance here as a 1st time poster.
My actual requirement:
My web app using jQuery/Juitter needs to access my twitter account's
private List of people I am following.
I am trying to use a proxy service with a java servlet on the
serverside to access the Twitter API.Basic Auth is not going to work
and the next option was OAuth which lead me to the server-side
solution with java/Twitter4J.
I need to get a Browserless authorization exchange for my web
application.Ideally, I would like to use the Consumer key and secret
instead of username and password but I do not want to display the
Authorization page for the backend access from my web application to
my twitter account via the Twitter API to happen.Curently, I am
trying
to use Twitter4J to access the API with the Consumer key and secret
and get a 401 authentication credentials error.
I have looked at this post which asks to provide username and
password
in the POST.Is xAuth the option I should use for my web app to access
my twitter account's private List of people I am following ?
http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-oauth-access_to...
Appreciate any feedback for a newcomer with Twitter.
Vijay
--
Matt Harris
Developer Advocate, Twitterhttp://twitter.com/themattharris
--
Matt Harris
Developer Advocate, Twitter
http://twitter.com/themattharris