I have been googling for sample code and tutorials on how to post to
twitter using CURL (PHP) and specifying a specific user agent.
Say my user agent is myapplication.com.
How do I then post to twitter using this user agent?
thank you
been numerous
reported problems with PHP's JSON decoder that it doesn't handle the
very large numbers of Twitter's IDs well.
On Sat, Oct 24, 2009 at 11:11, TrixJo tri...@gmail.com wrote:
Hello
I am trying to search twitter content using a mySQL/PHP entry in a
table:
$contents
Hello
I am trying to search twitter content using a mySQL/PHP entry in a
table:
$contents = file_get_contents(
http://search.twitter.com/search.json?
lang=enrpp=5q=.urlencode($row[topicTitle]));
$json = json_decode($contents);
I am returning the results via AJAX as an XML
for other thnigs that I also have
in XML format so I am putting everything together in the same format
which is XML)
On Oct 24, 1:31 pm, Dewald Pretorius dpr...@gmail.com wrote:
Isn't it because you are trying to process a JSON object as XML data?
Dewald
On Oct 24, 2:11 pm, TrixJo tri
it to amp;
On Sat, Oct 24, 2009 at 11:55, TrixJo tri...@gmail.com wrote:
JDG,
I am certain that is where the error is coming from because the error
supplied by the browser is pointing at my query string
Dewald, I am processing the data via JSON into an array
I then take that array
Trying to find the most popular trending topics.
Currently using:
http://search.twitter.com/trends/current.json?exclude=hashtags
Is there a way that I can find the most popular trending topics as
well as the number of retweets for each topic?
That way I can save the trending topics in my
I am using the Twitter API and have the following JSON object returned
after a search query. print_r($json) is:
[code]
$contents = file_get_contents(http://search.twitter.com/search.json?
lang=enrpp=5q=MyNetwork);
$json = json_decode($contents);
echo print_r($json);
[/code]
outputs:
[code]