I think what you described is exactly right. You're looking for an app
that users can authorize with using OAuth. Once they're redirected back
to your site (part of the OAuth process), you can create a user account
for them locally and ask them to follow your Twitter account. Because
they've authorized your application, when they agree to follow you, you
can use the /friendships/create API method on their behalf.
Relevant API documentation:
I was wondering if any one could suggest an elegant approach to
ultimately sending direct messages to my Twitter followers from my
I'd like people that join web site to do the following:
From their member page on my site, I'd like for them to click a
Twitter follow button, go to Twitter, follow me, then return to their
member page on my site.
After they do this, I want capture their twitter ID and associate it
with their user account on my site so I can send them direct messages
from my application.
I'd really appreciate an elegant approach to solving this.
I guess I'm looking for an answer like: "Use oAuth to have the user
authorize your app on Twitter, then redirect redirect back to your
app, click a twittter follow button, and extract their Twitter ID from
"x_file" and then........"
My days of programming are way behind me so I hope that makes some
Thanks so much.
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: