Hey there,

You shouldn't get this message if you're using the user_id & list_id
parameters. Just to be sure, could you please share the full HTTP Request &
Response?

Arnaud / @rno <http://twitter.com/rno>



On Thu, May 5, 2011 at 3:55 PM, Canadaka <canad...@gmail.com> wrote:

> I am having trouble removing members from lists with PHP using the
> Twitter API.
> I am using "lists/members/destroy"
> http://dev.twitter.com/doc/post/lists/members/destroy
>
> I am providing the 'user_id' as a POST variable, but the response says
> "You must specify a target user".
>
> $id = '972905';
> $user_id = '14538949';
> $result = $to->OAuthRequest('http://api.twitter.com/1/lists/members/
> destroy.xml <http://api.twitter.com/1/lists/members/destroy.xml>',
> array('list_id' => $id, 'user_id' => $user_id), 'POST');
>
> --
> 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