Questions tagged [xauth]

XAuth is a Twitter API method that allows easy OAuth access token retrieval for an account without going through a full OAuth authentication sequence.

With the XAuth API method you can supply Twitter credentials (username/password) and get back a usable access token in one go.

This might be a better functional match for desktop or mobile (=non-web) clients. It could also be used for a one time conversion of a userbase from Twitter credentials to Twitter OAuth access tokens.

See the documentation by Twitter about XAuth for more information. You need to request permission to use this method for you Twitter application by emailing Twitter, stating why you would need this Use Case for your application.

106 questions
1
vote
1 answer

twitter4j xAuth authentication

I'm trying to integrate xauth authentication using the twitter4j library I've found multiple guides similar to http://www.hiteshagrawal.com/java/twitter-xauth-permission-using-java that all indicate i should have the line: Twitter twitter = new…
confused
  • 11
  • 2
1
vote
1 answer

XQuartz $DISPLAY problems, cannot open xclock locally, cannot ssh -X

I am trying to solve a cascading series of bugs that started with me not able to copy to my macOS clipboard from remote ssh and has lead me to realize my X11 situation is seriously messed up. I have read a few other stackoverflow threads and they do…
Jesse
  • 1,662
  • 3
  • 17
  • 18
1
vote
1 answer

Shared Xauthority file

I need to run an X server for use by my entire group. I trust the network so dont need to encrypt the traffic. I don't however want to use xhost and either disable acls or add every IP that would need to connect. xauth meets my requirements in that…
Deezal
  • 11
  • 2
1
vote
2 answers

How long does it take to get xAuth approval from Twitter, and what are their requirements?

What are Twitter's requirements for an app to get the ability to log in users via xAuth (as opposed to the traditional oAuth)? Are they stingy about who they allow to use xAuth, or are they generous -- i.e., is the approval process mostly…
Jason
  • 14,517
  • 25
  • 92
  • 153
1
vote
1 answer

android: twitter OAuth XAuth

I need to public game result in user's twitter page. Is there a way to do it automatically using XAuth or OAuth (I saw a few aexamples and each one needs user actions). Thanks!
Nick
  • 820
  • 2
  • 14
  • 29
1
vote
0 answers

Git push fails in Jenkins (works only when restricting to run on specific node)

I have a Jenkins job which does git push at the end. There are 3 nodes - a master and 2 slaves. The job completes successfully when the option to Restrict running the job on a specific node is set. The job fails if that option is unset. Error…
Alex
  • 11
  • 1
1
vote
1 answer

How to share twitter user credentials between web and mobile applications?

Our web allows the user to publish tweets in his timeline automatically when he does some particular actions. However, a mobile app is connected with the web, an sometimes some actions the user does in the mobile app must be sent to the web app so…
1
vote
2 answers

iOS Development: What are some reasons I should to use XAuth to authenticate a twitter user?

I see many people using XAuth in their app to authenticate twitter users and I'm wondering what are some situations that I would want to use XAuth in my own apps. Thanks for your wisdom!
BeachRunnerFred
  • 18,070
  • 35
  • 139
  • 238
1
vote
0 answers

XOpenDisplay with XAuth data

I currently develop a program that will launch an X client in a different user than the currently logged in. unfortunately I cannot find any examples or resources on doing the X Authorization. Can someone help me understanding the Xauth library and…
Nidhoegger
  • 4,973
  • 4
  • 36
  • 81
1
vote
1 answer

SyntaxError with nested quotes in Python

I am using a Twitter XAuth Python library and I keep getting an Invaild Syntax Error. I am still learning python but I couldn't find the solution when I was looking. Here is the code giving the error. Any help would be great. req =…
1
vote
1 answer

iPhone/iPad app to web service. What kind of auth to use??? basic? xauth?

I'm working on the design for a client's iOS app. They want the app to access stored data on their web server. The important thing is that the data can only be accessed by subscribed users, i.e. those that have a username and password. The web team…
Marky
  • 1,294
  • 1
  • 18
  • 40
1
vote
3 answers

xauth twitter on iphone app

I will use xAuth to post data on my twitter account and I'm kind of stuck with the signature, header stuff. I have the following code: // Build url NSString *url = [NSString…
Luc
  • 16,604
  • 34
  • 121
  • 183
1
vote
0 answers

Invalid Signature while Connecting to Instapaper's Xauth on PHP

I've been trying to get a PHP application to connect to Instapaper's Xauth services, but for the life of me I can't get it to work. I keep getting an "403: Invalid signature." error. The error says that my signature base string wasn't what it…
Walter Schultz
  • 371
  • 1
  • 3
  • 4
1
vote
4 answers

TwitterException with xAuth while posting from Android using Twitter4j

I am using twitter4j-2.1.3.jar to make a simple post to twitter. The code I use is: System.setProperty("twitter4j.oauth.consumerKey", TWITTER_CONSUMER_KEY); System.setProperty("twitter4j.oauth.consumerSecret",TWITTER_SECRET_KEY); Twitter twitter =…
ganesh
  • 1,247
  • 6
  • 24
  • 46
1
vote
2 answers

Where to place twitter4j.properties in android project?

I'm developing Twitter application with xAuth support using twitter4j jar file. I want to place my consumer key/secret in twitter4j.properties file. Where should I put this file in directory structure?
pixel
  • 24,905
  • 36
  • 149
  • 251