-
January 5th, 2010, 07:29 AM
#1
Getting the twitter JSON
Hello,
I'm trying to get the JSON string from a twitter timeline by sending a XMLHttpRequest with the URI of the timeline: http://twitter.com/statuses/public_t...lback=timeline. I tried to put this into a xmlHttpRequest but it returns null. Is this a security issue or something?. Can someone explain me how to get the JSON string ?.
Thanks.
-
January 6th, 2010, 11:53 PM
#2
Re: Getting the twitter JSON
IIRC XMLHttpRequest can only request pages from site it's served from (so unless the java script in on twitter.com it can't fetch from twitter.com
-
January 13th, 2010, 06:15 AM
#3
Re: Getting the twitter JSON
-
January 13th, 2010, 09:43 PM
#4
Re: Getting the twitter JSON
Originally Posted by TimothyH
In't there a workaround?
yes, use XMLHttpRequest to connect a server side script like php on your server, and that script use normal transfer protocol to fetch the data.
Last edited by Roguebfl; January 17th, 2010 at 04:23 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|