sonnyt / tweetie

Simple jQuery Twitter feed plugin
https://sonnyt.com/tweetie
312 stars 116 forks source link

2 Permission errors #29

Closed kevinorin closed 10 years ago

kevinorin commented 10 years ago

I downloaded recent git files, updated config files per read me file and I can't figure out why I getting console errors, 1 even referencing back to files.sonnyt.com which isnt mentioned in any of the files.

http://clientfiles.priworks.com/prototypes/twitterfeed/index.html (see console and/or screenshot)

XMLHttpRequest cannot load http://files.sonnyt.com/tweetie/tweet.php?username=&list=&count=1&exclude_replies=false. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://clientfiles.priworks.com' is therefore not allowed access. index.html:1 screen shot 2014-07-29 at 1 45 08 pm

XMLHttpRequest cannot load http://files.sonnyt.com/tweetie/tweet.php?username=kevinorin&list=c-oo-l-e-s-t-nerds-i-know&count=10&exclude_replies=false. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://clientfiles.priworks.com' is therefore not allowed access.

kostasx commented 10 years ago

@kevinorin Kevin, I can see that the "files.sonnyt.com" string can be found in your tweetie.js file. See line #21: 'apiPath' : 'http://files.sonnyt.com/tweetie/tweet.php' You should change that value to reflect the path where tweet.php is located on your server.

kevinorin commented 10 years ago

That is so strange, CTRL find did not find it ><

I replaced the error and got a 404, realized this was on a windows server and moved to a linux: http://sandbox.kevinw.me/tweetie/

No errors now but no content loading either. Thoughts @kostasx

kevinorin commented 10 years ago

Nervermind was referencing wrong file. All set thanks! @kostasx