- This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The forum ‘JavaScript’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › JavaScript › Fb api doubt
I am using public search api http://graph.facebook.com/search?q=page&type=page , and I am able to fetch json data without using any acces token and without external library
var oHead = document.getElementsByTagName(‘HEAD’).item(0);
var oScript= document.createElement(“script”);
oScript.type = “text/javascript”;
/*******************************facebook public search api**************************************************************************/
oScript.src=”http://graph.facebook.com/search?q=”+page+”&type=page&callback=”+”mycallback”;
oHead.appendChild( oScript);
/*************************make callback global sice we are using inside another function********************************************/
window.mycallback = function(fbdata) {
//do something with data
}
I want to know How should I fetch json for graph.facebook.com/id ……..id which i am getting from fb public search api .
No that was about dynamically creating node ….!!
You know, I was trying to help you with this issue in [your *other* other thread]( https://css-tricks.com/forums/discussion/25457/load-json-in-purely-javascript#Item_12 ), and you never bothered to answer.