First let me apologize if i am not asking this question correctly. I am developing a very simple php widget to retrieve the basic set of public profiles and the last 3 tweets by that profile. I have an example here: http://shawnsspace.com/plugins/API.twitter.php?name=twitter widget will be the box in center of page.
ISSUE # 1. : as is the widget is limited to 150 requests per hour, and makes 2 requests per view. This will not work for the intended purpose.
STEPS to SOLVE: i have created an application and have generated an access token, and access token secret. I have also read the documentation on implementing abraham / twitteroauth to get a user access token.
ISSUE # 2. : I have no need to have the user log into this application, it only requires read only access of public profiles. Is there a way i can make use of my applications access tokens using my current cURL requests with out adding (abrahms Oauth)
how can i append the applications tokens to this request, with out the integration of the Oauth?
function GetTwitter($name){
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://api.twitter.com/1/users/show.json?screen_name=".$name."");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$sendCH = curl_exec($ch);
curl_close($ch);
return $sendCH;
};