You should be providing both the source and a target user to the /friendships/show method.

You can use source_id & target_id or source_screen_name & target_screen_name with /friendships/show.

Here's the API documentation:
http://dev.twitter.com/doc/get/friendships/show

Joe Rattz wrote:
I would like to determine if my registered application's user is
following another user.

First I tried friendships/show with a target_screen_name = "someuser"
and get this error:

<hash>
   <request>/1/friendships/show.xml</request>
   <error>Target user not specified.</error>
</hash>


Then I tried friendships/show with user_a = "myusername" and user_b =
"someuser" and get this error:

<hash>
   <request>/1/friendships/exists.xml</request>
   <error>Two user ids or screen_names must be supplied.</error>
</hash>

I would prefer to use the show method and without having to specify my
application's user's username.

These are both using the Twulr Console.  What am I missing?

Thanks.



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

Reply via email to