|All requests||>||Retrieve Twitter user profile info||>||Request new recommendation||>||Featured requests||>||No recommendations|
by praveen kumar - 5 years ago (2014-12-20)
I need to retrieve the Twitter user profile to integrate twitter in my application.
Accessing Twitter API to get the user profile requires to implement the OAuth authorization process to obtain an access token.
From then on you can perform any Twitter API calls on behalf of the user that authorized the access, including retrieving its profile details.
This class can perform either the authorization process and call any APIs based in OAuth.
There is one specific example that shows how to obtain the Twitter authorization token and call the Twitter API to get the current user profile.
You can also read this article to learn more about how the OAuth process works using this PHP OAuth client class.