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_b&text=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."}

Reply via email to