Jess
Jess

Reputation: 1849

Using Tweepy OAuth to authenticate a user when they submit a form

I'm building a web app (using Django) in which I need to use OAuth. I'm using Tweepy and have installed and imported it. I now have no idea to set it up so that when a user hits the "Submit" button on my form, they are asked to Log in via Twitter. I have followed a number of different tutorials/blogs to try and get it working but I can't seem to crack it.

This is the flow I am after:

I'm really stuck so any help would be much appreciated!

Upvotes: 2

Views: 1031

Answers (1)

John
John

Reputation: 4038

I tried to do the same thing, in addition to that, the form content is automatically twitted to user wall.

You need to follow the tutorial here

http://packages.python.org/tweepy/html/auth_tutorial.html#oauth-authentication

Upvotes: 1

Related Questions