The Search API has different user_ids then the REST API. You will have to
use the screen_name when performing the users/show method.

On Thu, Oct 8, 2009 at 00:30, ArnieLapinig <> wrote:

> Hello,
> Hello,
> Just started developing a Twitter app... I'm using a php script with
> CURL to issue a show_user request. The twitter_id in the request comes
> from the response from a search method, which returns xml data.
> I use the twitter_id in show.xml to get the user's location info.
> But I'm getting this response:
> Warning: file_get_contents(<?xml version="1.0" encoding="UTF-8"?>
> <hash>  <request>/users/show.xml?user_id=4667006333</request>
> <error>Not found</error> </hash> ) [function.file-get-contents]:
> failed to open stream: No such file or directory.
> Does Twitter still allow Basic Authorization? Do I have to register an
> app with Twitter in order to get a valid response when using the REST
> API?
> Thanks for helping out...

Abraham Williams | Community Evangelist |
Hacker | |
Project |
This email is: [ ] blogable [x] ask first [ ] private.

Reply via email to