Workaround To Making An Xmlhttprequest To Api.twitter.com?
** UPDATE: Apparently the problem morphed into an XMLHttpRequest problem: XMLHttpRequest cannot load http://api.twitter.com/1/statuses/user_timeline.json?screen_name=bogdanch&.
Solution 1:
In order to avoid the XMLHttpRequest to api.twitter.com I've made a php file which acts as a proxy. The file contains the following code:
<?php
header('Content-Type: text/xml');
$tweets = file_get_contents('http://api.twitter.com/1/statuses/user_timeline.xml?screen_name=TWITTER_USERNAME_HERE&count=6');
echo $tweets;
?>
Post a Comment for "Workaround To Making An Xmlhttprequest To Api.twitter.com?"