Re: How to accept follow request via API
This api call has been requested and accepted (although with a low priority and milestone of V2, whenever that is) at http://code.google.com/p/twitter-api/issues/detail?id=8q=label:Type-Enhancementcolspec=ID%20Stars%20Type%20Status%20Priority%20Owner%20Summary%20Opened%20Milestone Everyone else that wants it should go star it to remind them that it's important to us. On Jan 17, 1:03 am, Abraham Williams 4bra...@gmail.com wrote: Was the flow previously that by following someone you where approving them to follow you? Or has it always been the way it currently is? On Thu, Jan 15, 2009 at 02:18, Daniel Kwiecinski daniel.kwiecin...@gmail.com wrote: OK, that's answers my question - it is not possible to establish a relation between 2 users via API in order to allow sending direct messages. It arises question number two: Is it prohibited to pretend web GUI so my app will using pure HTTP will accept follow request ? Thank you, Daniello 2009/1/15 Damon Clinkscales sca...@pobox.com Until the follow request is approved by user A, B is not really following A. Therefore A can't send a DM to B. AFAIK, there's not a way to do the follow approval process step via the API. That step is done in the Twitter UI. -damon On Wed, Jan 14, 2009 at 10:40 AM, Daniel Kwiecinski daniel.kwiecin...@gmail.com wrote: Following your advice I executed: 3.) curl -u user_a:pass_a -d http://twitter.com/friendships/create/user_b.json {description:,screen_name:user_b,url:null,name:user_b,protec ted:false,profile_image_url:http:\/\/ static.twitter.com \/images\/default_profile_normal.png,location:,id:xxx,followers_cou nt:1} but I can not send direct messages from user_a to user_b ;( 4.) curl -u user_a:pass_a -d user=user_btext=bla http://twitter.com/direct_messages/new.json {request:\/direct_messages\/new.json,error:You cannot send messages to users who are not following you.} -- | Abraham Williams |http://the.hackerconundrum.com | Web608 | Community Evangelist |http://web608.org | ggd | betaGeek |http://girlsgeeksanddating.com | Micro-email:http://userscripts.org/scripts/show/38822 | This email is: [] blogable [x] ask first [] private
Re: How to accept follow request via API
Thanks for pointing this one. Does anybody can comment on using requests to the Twitter website (not the API part) as a API. That would be a workaround to the issue. Does it break the usage licence or any other Twitter's policy? Regards, Daniel 2009/1/30 cjmartin cjmar...@gmail.com This api call has been requested and accepted (although with a low priority and milestone of V2, whenever that is) at http://code.google.com/p/twitter-api/issues/detail?id=8q=label:Type-Enhancementcolspec=ID%20Stars%20Type%20Status%20Priority%20Owner%20Summary%20Opened%20Milestone Everyone else that wants it should go star it to remind them that it's important to us. On Jan 17, 1:03 am, Abraham Williams 4bra...@gmail.com wrote: Was the flow previously that by following someone you where approving them to follow you? Or has it always been the way it currently is? On Thu, Jan 15, 2009 at 02:18, Daniel Kwiecinski daniel.kwiecin...@gmail.com wrote: OK, that's answers my question - it is not possible to establish a relation between 2 users via API in order to allow sending direct messages. It arises question number two: Is it prohibited to pretend web GUI so my app will using pure HTTP will accept follow request ? Thank you, Daniello 2009/1/15 Damon Clinkscales sca...@pobox.com Until the follow request is approved by user A, B is not really following A. Therefore A can't send a DM to B. AFAIK, there's not a way to do the follow approval process step via the API. That step is done in the Twitter UI. -damon On Wed, Jan 14, 2009 at 10:40 AM, Daniel Kwiecinski daniel.kwiecin...@gmail.com wrote: Following your advice I executed: 3.) curl -u user_a:pass_a -d http://twitter.com/friendships/create/user_b.json {description:,screen_name:user_b,url:null,name:user_b,protec ted:false,profile_image_url:http:\/\/ static.twitter.com \/images\/default_profile_normal.png,location:,id:xxx,followers_cou nt:1} but I can not send direct messages from user_a to user_b ;( 4.) curl -u user_a:pass_a -d user=user_btext=bla http://twitter.com/direct_messages/new.json {request:\/direct_messages\/new.json,error:You cannot send messages to users who are not following you.} -- | Abraham Williams |http://the.hackerconundrum.com | Web608 | Community Evangelist |http://web608.org | ggd | betaGeek |http://girlsgeeksanddating.com | Micro-email:http://userscripts.org/scripts/show/38822 | This email is: [] blogable [x] ask first [] private
Re: How to accept follow request via API
Are you blocking the whole TOR network? Just kidding ;-) Gustavo Melo wrote: lol On Fri, Jan 30, 2009 at 5:59 PM, Alex Payne a...@twitter.com mailto:a...@twitter.com wrote: Don't scrape our site. Seriously. Our operations staff will blackhole your IP. On Fri, Jan 30, 2009 at 06:14, Daniel Kwiecinski daniel.kwiecin...@gmail.com mailto:daniel.kwiecin...@gmail.com wrote: Thanks for pointing this one. Does anybody can comment on using requests to the Twitter website (not the API part) as a API. That would be a workaround to the issue. Does it break the usage licence or any other Twitter's policy? Regards, Daniel 2009/1/30 cjmartin cjmar...@gmail.com mailto:cjmar...@gmail.com This api call has been requested and accepted (although with a low priority and milestone of V2, whenever that is) at http://code.google.com/p/twitter-api/issues/detail?id=8q=label:Type-Enhancementcolspec=ID%20Stars%20Type%20Status%20Priority%20Owner%20Summary%20Opened%20Milestone http://code.google.com/p/twitter-api/issues/detail?id=8q=label:Type-Enhancementcolspec=ID%20Stars%20Type%20Status%20Priority%20Owner%20Summary%20Opened%20Milestone Everyone else that wants it should go star it to remind them that it's important to us. On Jan 17, 1:03 am, Abraham Williams 4bra...@gmail.com mailto:4bra...@gmail.com wrote: Was the flow previously that by following someone you where approving them to follow you? Or has it always been the way it currently is? On Thu, Jan 15, 2009 at 02:18, Daniel Kwiecinski daniel.kwiecin...@gmail.com mailto:daniel.kwiecin...@gmail.com wrote: OK, that's answers my question - it is not possible to establish a relation between 2 users via API in order to allow sending direct messages. It arises question number two: Is it prohibited to pretend web GUI so my app will using pure HTTP will accept follow request ? Thank you, Daniello 2009/1/15 Damon Clinkscales sca...@pobox.com mailto:sca...@pobox.com Until the follow request is approved by user A, B is not really following A. Therefore A can't send a DM to B. AFAIK, there's not a way to do the follow approval process step via the API. That step is done in the Twitter UI. -damon On Wed, Jan 14, 2009 at 10:40 AM, Daniel Kwiecinski daniel.kwiecin...@gmail.com mailto:daniel.kwiecin...@gmail.com wrote: Following your advice I executed: 3.) curl -u user_a:pass_a -d http://twitter.com/friendships/create/user_b.json {description:,screen_name:user_b,url:null,name:user_b,protec ted:false,profile_image_url:http:\/\/ static.twitter.com http://static.twitter.com \/images\/default_profile_normal.png,location:,id:xxx,followers_cou nt:1} but I can not send direct messages from user_a to user_b ;( 4.) curl -u user_a:pass_a -d user=user_btext=bla http://twitter.com/direct_messages/new.json {request:\/direct_messages\/new.json,error:You cannot send messages to users who are not following you.} -- | Abraham Williams |http://the.hackerconundrum.com | Web608 | Community Evangelist |http://web608.org | ggd | betaGeek |http://girlsgeeksanddating.com | Micro-email:http://userscripts.org/scripts/show/38822 | This email is: [] blogable [x] ask first [] private -- Alex Payne - API Lead, Twitter, Inc. http://twitter.com/al3x -- -- Analista Desenvolvedor www.espacodj.com http://www.espacodj.com
Re: How to accept follow request via API
Was the flow previously that by following someone you where approving them to follow you? Or has it always been the way it currently is? On Thu, Jan 15, 2009 at 02:18, Daniel Kwiecinski daniel.kwiecin...@gmail.com wrote: OK, that's answers my question - it is not possible to establish a relation between 2 users via API in order to allow sending direct messages. It arises question number two: Is it prohibited to pretend web GUI so my app will using pure HTTP will accept follow request ? Thank you, Daniello 2009/1/15 Damon Clinkscales sca...@pobox.com Until the follow request is approved by user A, B is not really following A. Therefore A can't send a DM to B. AFAIK, there's not a way to do the follow approval process step via the API. That step is done in the Twitter UI. -damon On Wed, Jan 14, 2009 at 10:40 AM, Daniel Kwiecinski daniel.kwiecin...@gmail.com wrote: Following your advice I executed: 3.) curl -u user_a:pass_a -d http://twitter.com/friendships/create/user_b.json {description:,screen_name:user_b,url:null,name:user_b,protected:false,profile_image_url:http:\/\/ static.twitter.com \/images\/default_profile_normal.png,location:,id:xxx,followers_count:1} but I can not send direct messages from user_a to user_b ;( 4.) curl -u user_a:pass_a -d user=user_btext=bla http://twitter.com/direct_messages/new.json {request:\/direct_messages\/new.json,error:You cannot send messages to users who are not following you.} -- | Abraham Williams | http://the.hackerconundrum.com | Web608 | Community Evangelist | http://web608.org | ggd | betaGeek | http://girlsgeeksanddating.com | Micro-email: http://userscripts.org/scripts/show/38822 | This email is: [] blogable [x] ask first [] private
How to accept follow request via API
Hi, The problem: User A has his updates protected. User B has his updates public. There is no relation between these users yet. I need to send the direct message from user A to user B. I have credentials of both users. What API invocations should I execute in order to be able to send direct messages from user A to B. (ie how to accept the follow request by API) Thanks in advance, Daniello
Re: How to accept follow request via API
Call http://apiwiki.twitter.com/REST+API+Documentation#create as user B to friend user A. Then call http://apiwiki.twitter.com/REST+API+Documentation#new as user A to send a DM to user B. On Wed, Jan 14, 2009 at 07:04, daniello daniel.kwiecin...@gmail.com wrote: Hi, The problem: User A has his updates protected. User B has his updates public. There is no relation between these users yet. I need to send the direct message from user A to user B. I have credentials of both users. What API invocations should I execute in order to be able to send direct messages from user A to B. (ie how to accept the follow request by API) Thanks in advance, Daniello -- | Abraham Williams | Web Developer | http://abrah.am | Web608 | Community Evangelist | http://web608.org | ggd | betaGeek | http://girlsgeeksanddating.com | Micro-email: http://userscripts.org/scripts/show/38822 | This email is: [] blogable [x] ask first [] private
Re: How to accept follow request via API
I assumed that a protected user would be able to dm a requesting user but I guess not. You can repeat step one switching the users and then it will work. On Wed, Jan 14, 2009 at 08:20, Daniel Kwiecinski daniel.kwiecin...@gmail.com wrote: Ok, I did the following according your advice: 1.) *curl -u user_b:pass_b -d http:nielllo.jsonm/friendships/create/user_a.json {description:,screen_name:user_a,url:null,name:user_a,protected:true,profile_image_url:http:\/\/ s3.amazonaws.com \/twitter_production\/profile_images\/_o_normal.jpg,location:London,id:xx,followers_count:8} * 2.) *curl -u user_a:pass_a -d user=user_btext=bla http://twitter.com/direct_messages/new.json {request:\/direct_messages\/new.json,error:You cannot send messages to users who are not following you.}* And I've check the user_a twitter page, there is pending request from user_b but is not accepted. Any ideas? Daniello 2009/1/14 Abraham Williams 4bra...@gmail.com Call http://apiwiki.twitter.com/REST+API+Documentation#create as user B to friend user A. Then call http://apiwiki.twitter.com/REST+API+Documentation#new as user A to send a DM to user B. On Wed, Jan 14, 2009 at 07:04, daniello daniel.kwiecin...@gmail.comwrote: Hi, The problem: User A has his updates protected. User B has his updates public. There is no relation between these users yet. I need to send the direct message from user A to user B. I have credentials of both users. What API invocations should I execute in order to be able to send direct messages from user A to B. (ie how to accept the follow request by API) Thanks in advance, Daniello -- | Abraham Williams | Web Developer | http://abrah.am | Web608 | Community Evangelist | http://web608.org | ggd | betaGeek | http://girlsgeeksanddating.com | Micro-email: http://userscripts.org/scripts/show/38822 | This email is: [] blogable [x] ask first [] private -- | Abraham Williams | http://the.hackerconundrum.com | Web608 | Community Evangelist | http://web608.org | ggd | betaGeek | http://girlsgeeksanddating.com | Micro-email: http://userscripts.org/scripts/show/38822 | This email is: [] blogable [x] ask first [] private
Re: How to accept follow request via API
Following your advice I executed: 3.) *curl -u user_a:pass_a -d http://twitter.com/friendships/create/user_b.json {description:,screen_name:user_b,url:null,name:user_b,protected:false,profile_image_url:http:\/\/ static.twitter.com \/images\/default_profile_normal.png,location:,id:xxx,followers_count:1} * but I can not send direct messages from user_a to user_b ;( 4.) *curl -u user_a:pass_a -d user=user_btext=bla http://twitter.com/direct_messages/new.json {request:\/direct_messages\/new.json,error:You cannot send messages to users who are not following you.}* Any ideas, Daniello 2009/1/14 Abraham Williams 4bra...@gmail.com I assumed that a protected user would be able to dm a requesting user but I guess not. You can repeat step one switching the users and then it will work. On Wed, Jan 14, 2009 at 08:20, Daniel Kwiecinski daniel.kwiecin...@gmail.com wrote: Ok, I did the following according your advice: 1.) *curl -u user_b:pass_b -d http:nielllo.jsonm/friendships/create/user_a.json {description:,screen_name:user_a,url:null,name:user_a,protected:true,profile_image_url:http:\/\/ s3.amazonaws.com \/twitter_production\/profile_images\/_o_normal.jpg,location:London,id:xx,followers_count:8} * 2.) *curl -u user_a:pass_a -d user=user_btext=bla http://twitter.com/direct_messages/new.json {request:\/direct_messages\/new.json,error:You cannot send messages to users who are not following you.}* And I've check the user_a twitter page, there is pending request from user_b but is not accepted. Any ideas? Daniello 2009/1/14 Abraham Williams 4bra...@gmail.com Call http://apiwiki.twitter.com/REST+API+Documentation#create as user B to friend user A. Then call http://apiwiki.twitter.com/REST+API+Documentation#new as user A to send a DM to user B. On Wed, Jan 14, 2009 at 07:04, daniello daniel.kwiecin...@gmail.comwrote: Hi, The problem: User A has his updates protected. User B has his updates public. There is no relation between these users yet. I need to send the direct message from user A to user B. I have credentials of both users. What API invocations should I execute in order to be able to send direct messages from user A to B. (ie how to accept the follow request by API) Thanks in advance, Daniello -- | Abraham Williams | Web Developer | http://abrah.am | Web608 | Community Evangelist | http://web608.org | ggd | betaGeek | http://girlsgeeksanddating.com | Micro-email: http://userscripts.org/scripts/show/38822 | This email is: [] blogable [x] ask first [] private -- | Abraham Williams | http://the.hackerconundrum.com | Web608 | Community Evangelist | http://web608.org | ggd | betaGeek | http://girlsgeeksanddating.com | Micro-email: http://userscripts.org/scripts/show/38822 | This email is: [] blogable [x] ask first [] private
Re: How to accept follow request via API
Until the follow request is approved by user A, B is not really following A. Therefore A can't send a DM to B. AFAIK, there's not a way to do the follow approval process step via the API. That step is done in the Twitter UI. -damon On Wed, Jan 14, 2009 at 10:40 AM, Daniel Kwiecinski daniel.kwiecin...@gmail.com wrote: Following your advice I executed: 3.) curl -u user_a:pass_a -d http://twitter.com/friendships/create/user_b.json {description:,screen_name:user_b,url:null,name:user_b,protected:false,profile_image_url:http:\/\/static.twitter.com\/images\/default_profile_normal.png,location:,id:xxx,followers_count:1} but I can not send direct messages from user_a to user_b ;( 4.) curl -u user_a:pass_a -d user=user_btext=bla http://twitter.com/direct_messages/new.json {request:\/direct_messages\/new.json,error:You cannot send messages to users who are not following you.}