Re: [twitter-dev] Ultimately send my twitter followers direct messages from my application

2010-10-02 Thread Thomas Mango
Yes, there's a limit of 250 direct messages per day according to:
http://support.twitter.com/forums/10711/entries/15364

I'm not sure if there are any policies against automatically direct messaging 
someone when they follow you, but a 250/day would certainly prevent that at 
some point. I don't know the details of your application, but if you were only 
planning to send new followers a direct message, perhaps you can avoid asking 
them to follow you and sending them a direct message by just showing them what 
you wanted to message them when they come back from the OAuth authorization.

--
Thomas Mango



On Oct 2, 2010, at 1:12 PM, "Dean Collins"  wrote:

> 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

-- 
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


Re: [twitter-dev] Ultimately send my twitter followers direct messages from my application

2010-10-02 Thread Dean Collins
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


Re: [twitter-dev] Ultimately send my twitter followers direct messages from my application

2010-10-02 Thread Thomas Mango
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-dev] Ultimately send my twitter followers direct messages from my application

2010-10-01 Thread Dialflow
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

-- 
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