Thomas are there restrictions on what/how many direct messages can be sent?

I haven't been paying attention with twitter for a while but I thought twitter 
banned automatic direct messages.

Thanks in advance,
Dean



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:
http://dev.twitter.com/pages/auth
http://dev.twitter.com/doc/post/friendships/create

Dialflow wrote:
> Hi:
>
> I was wondering if any one could suggest an elegant approach to
> ultimately sending direct messages to my Twitter followers from my
> application.
>
> 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
> sense.
>
> Thanks so much.
> Curtis
>


-- 
Thomas Mango
tsma...@gmail.com


-- 
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: 
http://groups.google.com/group/twitter-development-talk

-- 
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: 
http://groups.google.com/group/twitter-development-talk

Reply via email to