Re: [twitter-dev] Twitter Search with HTTP Referrer and User Agent
You're most likely using cURL with PHP so you want to look into cURL options to set headers...on a very generic level it will be something like: $headers = "User-Agent: YourAppName"; curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); - Kevin http://friendstat.us On Sun, Jan 31, 2010 at 2:24 AM, marc wrote: > I'm a novice programmer. I found this statement to be confusing > "Applications must have a meaningful and unique User Agent when using > this method. A HTTP Referrer is expected but not required." I would > like to not run into any limits even though my app is fairly small. > How does one set this information? I am using PHP with JSON to make > the calls to twitter if that makes any difference. > > Thank you! > Marc >
Re: [twitter-dev] Twitter Search with HTTP Referrer and User Agent
http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=setting+the+user+agent+PHP seems to return some useful stuff. On Sat, Jan 30, 2010 at 11:24 PM, marc wrote: > I'm a novice programmer. I found this statement to be confusing > "Applications must have a meaningful and unique User Agent when using > this method. A HTTP Referrer is expected but not required." I would > like to not run into any limits even though my app is fairly small. > How does one set this information? I am using PHP with JSON to make > the calls to twitter if that makes any difference. > > Thank you! > Marc > -- Raffi Krikorian Twitter Platform Team http://twitter.com/raffi