Aman Aalam
Aman Aalam

Reputation: 11251

SignPost or Twitter4j for Sign-in with Twitter (OAuth)?

I read a lot about signpost, and then went back to Twitter4J with which I have created my twitter applications when OAuth wasn't necessary.

I am now confused whether I should use signpost or Twitter4J's method of OAuth authentication.

I have read that Twitter4J itself uses signpost for OAuth, still am not sure about the choice that I should make.

Kindly assist.

Thanks a lot!

Upvotes: 4

Views: 4819

Answers (2)

YAMAMOTO Yusuke
YAMAMOTO Yusuke

Reputation: 732

Twitter4J has no dependency and it's got its own OAuth support implementation.

You can achieve sign-in-with-twitter with Twitter4J. Here you can find an example webapp. https://github.com/yusuke/sign-in-with-twitter

Upvotes: 5

Aman Aalam
Aman Aalam

Reputation: 11251

I was looking for an answer to this question because:

  • If I use SignPost, I can get the "Sign-in with Twitter" working
  • If I had used Twitter4J, then I had to ask the user for his uid/pass

Although I wanted to use Twitter4J only.

Anyhow, I devised a way between these two and used Twitter4J to achieve "Sign-in with Twitter".

Upvotes: 8

Related Questions