I really seek help.
I tried many ways to make this work properly.
I want to retrieve the player count of an AppID.
For that I'm using:
However the problem is getting the json data.
First off, I tried using jQuery.getJSON, but this results in this error:
"Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at (Reason: CORS header 'Access-Control-
Then I thought I could use PHP for it, and use jQuery.load() to load it.
However this takes way too long to load and takes much resource.
So I wonder if there is a good way to retrieve the value.
Thank you very much.
Please research the Same-Origin Policy before you try to do web development.
Don't you think I did? I am trying for days now to make this work correctly... Hours of searching and trying.
That's why I came here, as last resort.
Still not working.
I get "Uncaught SyntaxError: Unexpected token :" (referring to the json)
And according to http://stackoverflow.com/questions/13642735/struggling-with-json-jsonp it's seems it's not possible for steam api.
Oh man, I love you so freaking much!
You are currently replying to another tree, would you like to make a top level comment? Reply
In order to reply to this thread,
you must login via Steam.