Assuming you have completed the OAuth process the easiest way to find out
the name of the user you are authenticated with is to call
/1/account/verify_credentials.format (where format is xml or json). This
method will tell you who you are authenticating with and include things like
user ID, screen name, name, description, image url etc.

There are many other things you can do using the Twitter AP which are
documented on our developer resources site:

Hope that helps,

On Tue, Aug 10, 2010 at 10:58 AM, TwitterApps <odav...@gmail.com> wrote:

> What is the easiest way to get the screen_name value of a user in
> PHP?  I already implemented successfully installed from the libraries
> the TwiiterOauth but not sure where to start with getting the
> screen_name to display.  I been searching online for some php
> scripts.


Matt Harris
Developer Advocate, Twitter

Reply via email to