{"id":5903,"date":"2014-04-08T02:06:25","date_gmt":"2014-04-08T02:06:25","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/04\/08\/problem-about-fql-collection-of-common-programming-errors\/"},"modified":"2014-04-08T02:06:25","modified_gmt":"2014-04-08T02:06:25","slug":"problem-about-fql-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/04\/08\/problem-about-fql-collection-of-common-programming-errors\/","title":{"rendered":"problem about fql-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/77dfcf903c947cf674f2b382de592152?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nmaskedbacon<br \/>\nphp facebook api fql<br \/>\nI&#8217;m trying to connect to the PHP SDK and retrieve a comment count from an fb:comments plugin I&#8217;m using on a project. However, when I try to make a $facebook-&gt;api() FQL call it always breaks my page. No error, just no more page processing past the API call.require_once &#8216;scripts\/fb-api\/facebook.php&#8217;;$facebook = new Facebook(array(&#8216;appId&#8217; =&gt; &#8216;222725974406020&#8217;,&#8217;secret&#8217; =&gt; &#8216;&#8212;&#8216; ));$result = $facebook-&gt;api(array(&#8216;query&#8217; =&gt; &#8216;SELECT post_id FROM comment WHERE xid = 0&#8217;, &#8216;method&#8217; =&gt; &#8216;fql.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/0f26b554f62f20f7426d5e9510c685b0?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nPinkFloydRocks<br \/>\nphp facebook fql<br \/>\nI&#8217;m kinda stuck on this FQL query.I can get places nearby my location but sometimes the GPS is off, and I want to submit a text search for the place I&#8217;m at, but this query is not returning any result at all and it even seems that it crashes the rest of my PHP script:SELECT name,description,geometry,latitude,longitude,checkin_count,display_subtext FROM place WHERE name = &#8216;Oslo&#8217;Any help&#8217;s greatly appreciated!<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/d94078f005e050c60ad01b80aaf24700?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\n???<br \/>\nphp fql<br \/>\nI&#8217;m a FQL new user!I have a fans page, and I&#8217;m a admin. Now,I want to use the FQL to list my fan&#8217;s name and fan&#8217;s id? Please help me!And thanks!This is what I&#8217;ve tried so far &#8211; &lt;?php require_once(&#8216;src\/facebook.php&#8217;); $facebook = new Facebook(array( &#8216;appId&#8217; =&gt; &#8216;id&#8217;, &#8216;secret&#8217; =&gt; &#8216;secret&#8217;, &#8216;cookie&#8217; =&gt; true, )); $result = $facebook-&gt;api(array( &#8216;method&#8217; =&gt; &#8216;fql.query&#8217;, &#8216;query&#8217; =&gt; &#8216;select uid from page_fan where page_id = xxxxxx&#8217; )); $fb_fans = $result[0][&#8216;uid&#8217;]; ?&gt; &lt;?php<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/67a175281ca36f60dbb06b8eb48696c8?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nJohn McGrath<br \/>\njavascript facebook facebook-javascript-sdk facebook-fql fql<br \/>\nI&#8217;m trying to update an app to work with &#8216;January 2013 Breaking Changes&#8217; enabled, and it looks likes part of the update is breaking my app. The update says &#8220;When getting stats about a URL from the link_stat FQL table&#8230; we will now use the canonicalized URL to fetch those stats.&#8221;I have this in the head tags, which is what I thought determined the canonical URL:&lt;meta content=&#8217;http:\/\/local.fnnny.com\/items\/1\/html-test&#8217; property=&#8217;og:url&#8217;&gt;When I comment on one of my pages with the comments plug<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/4145cdea1d60ba188831b085e8e6afc4?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nuser2154767<br \/>\nfacebook-fql fql messages<br \/>\ni am currently using an fql query to retreive the body of a message and i&#8217;m doing it knowing only the thread id and the message count, for each message:SELECT body FROM message WHERE message_id = &#8216;&#8221;.$thread[&#8216;thread_id&#8217;].&#8221;_&#8221;.$cnt.&#8221;&#8216;but i get this error:Uncaught Exception: 9: You are calling methods too frequentlyand it takes minutes to execute. There is another way to retreive all the messages knowing only the thread_id?<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/a6df1194cb40c07302caf592ae25c966?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nesegev<br \/>\njavascript facebook facebook-graph-api fql facebook-comments<br \/>\nI run a very basic FQL query with JavaScript, and keep getting back an error Object {error_code: &#8220;2&#8221;, error_msg: &#8220;Service temporarily unavailable&#8221;, request_args: Array[8]}My aim is to read the comment_info.XID of the recent comments posted via Facebook to my website (all the website, not limited to a specific post). This is my code, based on some samples posted on StackOverflow mostly:&lt;div id=&#8221;fb-root&#8221;&gt;&lt;\/div&gt; &lt;div id=&#8221;fbcomments&#8221;&gt;&lt;\/div&gt; &lt;script type=&#8221;text\/javascript&#8221;&amp;g<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/graph.facebook.com\/1427736689\/picture?type=large\" \/><br \/>\ncpilko<br \/>\njavascript facebook fql<br \/>\nI cannot seem to figure this thing out i got everything i wanted working but i cannot get this to work: I want to see if the active loged in user is friends with a specific account and if they are not the user is promt with a add friend window. this is what is got:FB.api({method: &#8216;fql.query&#8217;,query: &#8216;SELECT uid1, uid2 FROM friend WHERE uid1 = me() AND uid2 = 100001314420757&#8217;},function(response) {document.getElementById(&#8220;msg2&#8221;).innerHTML=&#8217;Users are: &#8216; + response[0].[something here];} );i think i g<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/d6ee49c2f554b4a9b07cfc1d3d731a56?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nthats_how_i_feel<br \/>\njavascript xml facebook fql<br \/>\nI am not skilled at programming. What I am trying to do is for personal use only and will just make my life easier. I am trying to make a script for Google Sheets that will fetch Facebook insights and display them in the Google doc. I have made this work for simpler values like integers and strings, but in this case, I want to return a list and am not sure how to fetch it or return it.Here is the open source script that I have modified: \/\/\/\/ \/\/ Facebook Fans Counter \/\/ Made by Martin Hassman, ht<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/f7ba6054dafa938623544c7b7cf1ce8b?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nEnigma<br \/>\nfacebook fql<br \/>\nI wrote an FQL query to get names of friends who tagged me &#8211; This is the FQL query which gives me the list of the friends ID&#8217;s(It&#8217;s Works):SELECT owner FROM photo WHERE object_id IN (SELECT object_id FROM photo_tag WHERE subject=me())Now i want to get their names by querying with this :SELECT name FROM user WHERE uid IN (SELECT owner FROM photo WHERE object_id IN (SELECT object_id FROM photo_tag WHERE subject=me())) But i don&#8217;t get the full list of the names, and it&#8217;s stops and gives this error<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/d51f90491e9a0e7b4ddbbc583b13a7f0?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nscham<br \/>\njavascript facebook facebook-graph-api facebook-fql fql<br \/>\nI&#8217;m attempting to do a Facebook FQL Multiquery (via JS SDK FB.api call) to load a single photo for each of 10 random Facebook friends where they have been tagged (aka &#8220;Show 10 random friends and a photo of theirs&#8221;). Here is my Javascript array of queries:var queries = {q1:&#8221;SELECT uid, name FROM user WHERE uid IN (Select uid2 from friend where uid1 = &#8221; + user_id + &#8221; order by rand() limit 10) &#8220;,q2: &#8220;SELECT pid, subject from photo_tag where subject in (SELECT uid from #q1) limit 10&#8221;,q3:&#8221;SELECT src<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/5b15ac856b808e329185b1f653805d09?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nMatt Fenwick<br \/>\njson facebook-graph-api facebook-fql fql facebook-php-sdk<br \/>\nI made and fql query and saved it into an array$resultposts = $facebook-&gt;api(array(&#8216;method&#8217; =&gt; &#8216;fql.query&#8217;,&#8217;query&#8217; =&gt; $fqlQueryposts));To extract the name value I use this:echo $resultposts[&#8216;first_name&#8217;];But I have problems with &#8220;media&#8221; array, that it&#8217;s into &#8220;attachment&#8221; array. This is the structure: $resultposts&gt;attachment&gt;media&gt;I should extract &#8220;type&#8221;, &#8220;src&#8221; and &#8220;href&#8221; values from &#8220;media&#8221; array. I tried in this way: $resultposts[&#8216;attachment&#8217;][&#8216;media&#8217;][&#8216;type&#8217;];But it doesn&#8217;t<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/90c2a3f001543edc7291981c673fef12?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nAntonio Santos<br \/>\nfacebook facebook-fql facebook-javascript-sdk fql<br \/>\nThis is my code but doesn&#8217;t work:FB.api({method: &#8216;fql.query&#8217;,query: &#8216;SELECT uid, first_name, last_name FROM user WHERE uid=100002306311953&#8217;},function(data) {alert(data.uid);} );});I get &#8220;undefined&#8221; in the alert. Why ?<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/ffe3002d5354c4ddd642da2d17605b1c?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nStefan Perju<br \/>\njavascript facebook fql<br \/>\nI call the facebook fql to get all members of a group. If i check allmembers in the first function, it works just fine, but when i call it in the second one, in returns &#8220;undefined&#8221;.function getAllMembers(groupid){var allmembers = new Array();var content = document.getElementById(&#8216;content-text&#8217;);FB.api({method: &#8216;fql.query&#8217;,query: &#8216;select uid from group_member where gid =&#8217; + groupid},function(resp){for (var i=0, l= resp.length; i&lt;l; i++){allmembers[i] = resp[i].uid;}return allmembers;}) }fun<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/16c99e5eefab93030d7c3c56b7c5aad9?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nphwd<br \/>\npython http facebook-graph-api facebook-fql fql<br \/>\nI&#8217;m trying to make an FQL query with the following code:def get_postData(to_post, access_token):postData = {}postData[&#8220;method&#8221;] = &#8220;fql.query&#8221;postData[&#8220;query&#8221;] = to_postpostData[&#8220;access_token&#8221;] = access_tokenreturn postDatadef make_request(url, to_post, access_token):postData = get_postData(to_post, access_token)return requests.post(url, data = postData).json()[u&#8217;data&#8217;]Using POST requests is not the best documented in the docs, and I&#8217;m unable to get this to work. With either &#8220;fql.query&#8221; or &#8220;fql&#8221;<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/8d69da0263a53dc51dcd53dae788ef1b?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nRyan<br \/>\nfacebook facebook-fql fql<br \/>\nLet&#8217;s take a simple FQL query to get all links shared by a user&#8217;s friends since yesterday for example:SELECT link_id, title, url, owner, created_time FROM link WHEREcreated_time &gt; strtotime(&#8216;yesterday&#8217;) ANDowner IN (SELECT uid2 FROM friend WHERE uid1 = me()) LIMIT 100If a user has 50 friends, this will execute perfectly. But if a user has hundreds of friends, more often than not Facebook returns an error.Options:Limit the friend select query to 50 &#8212; Sure, that will work, but it will show th<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/4f1025f04529c68572c09e9f6bfe4e0d?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nTimofey Stolbov<br \/>\nphp facebook api fql<br \/>\nWhen i run this code some times it works and other times it doesnt and gives this exception Exception: 1: An unknown error occurredHere is the code$user_access_token= $rowsUser[&#8216;access_token&#8217;]; $user= $rowsUser[&#8216;userId&#8217;]; $email= $rowsUser[&#8217;email&#8217;];$facebook = new Facebook(array(&#8216;appId&#8217; =&gt; APP_ID,&#8217;secret&#8217; =&gt; APP_SECRET,&#8217;cookie&#8217; =&gt; true, ));$access_token=$facebook-&gt;setAccessToken($user_access_token);try{$fql = &#8216;SELECT relationship_status,website,contact_email,work,education,current_l<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/16c99e5eefab93030d7c3c56b7c5aad9?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nphwd<br \/>\nfacebook facebook-fql fql fql.multiquery<br \/>\nI got several iOS apps that make an FQL multiquery to get infos about events by a certain creator.query1: &#8220;SELECT eid, uid FROM event_member WHERE uid = %@&#8221;query2: &#8220;SELECT eid, name, venue, location, start_time, creator FROM event WHERE eid IN (SELECT eid FROM #query1) AND start_time&gt;%@ AND creator = %@&#8221; up until yesterday, March 12th 2013 this worked just fine. Now it returns an &#8220;unknown error&#8221;.if i change query2 to&#8221;SELECT eid, name, venue, location, start_time, creator FROM event WHERE<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/graph.facebook.com\/1563041054\/picture?type=large\" \/><br \/>\nCaio Vertematti<br \/>\nfacebook facebook-graph-api facebook-like comments fql<br \/>\nSo, here&#8217;s my code for getting all likes and comments from the facebook stream table:function getStream(response) {var _arr = response.data[0].fql_result_set;if(_arr.length &lt;= 0 )returnvar _until = _arr[_arr.length-1].created_time;var _q = {&#8220;query1&#8221;:&#8221;SELECT created_time, post_id FROM stream WHERE source_id=me() AND created_time &lt; &#8220;+_until+&#8221; LIMIT 60&#8243;,&#8221;query2&#8243;:&#8221;SELECT user_id FROM like WHERE post_id IN (SELECT post_id FROM #query1)&#8221;,&#8221;query3&#8243;:&#8221;SELECT fromid FROM comment WHERE post_id IN (SEL<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/graph.facebook.com\/100004840800016\/picture?type=large\" \/><br \/>\nMarty Beckers<br \/>\nfacebook fql facebook-apps facebook-comments<br \/>\nWe have a Facebook app that uses the FB comments social plugin. We&#8217;re trying to automatically pull the total number of comments that have been posted using that app.We&#8217;ve tried using this query:SELECT count FROM comments_info WHERE app_id = 210218945658186However, this returns the following information:{&#8220;error&#8221;: {&#8220;message&#8221;: &#8220;An unexpected error has occurred. Please retry your request later.&#8221;,&#8221;type&#8221;: &#8220;OAuthException&#8221;,&#8221;code&#8221;: 2} }If we query fields other than the count field, the result is properl<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/graph.facebook.com\/24801787\/picture?type=large\" \/><br \/>\nMatt Kim<br \/>\nfacebook facebook-graph-api fql<br \/>\nI&#8217;m trying to get a list of common likes (public) between a user and his friends. I thought this FQL query would work but I&#8217;m getting an unknown user error:&#8211;get page_id that you have and any of your friends havehttps:\/\/api.facebook.com\/method\/fql.query?query= select uid, page_id from page_fan where uid in (SELECT uid2 FROM friend WHERE uid1 = me()) and page_id in (select page_id from page_fan where uid= me()) &amp;access_token=ABCI&#8217;m getting this error:&lt;error_response&gt;&lt;error_code&gt;1<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/graph.facebook.com\/100003243152289\/picture?type=large\" \/><br \/>\nRestartit Fbapp<br \/>\nfacebook facebook-graph-api fql fql.multiquery<br \/>\nI have a problem using the PHP SDK:$fql=&#8221;{&#8216;query1&#8242;:&#8217;SELECT uid2 FROM friend WHERE uid1=me()&#8217;,&#8217;query2&#8242;:&#8217;SELECT author_uid FROM checkin WHERE author_uid IN(SELECT uid2 FROM #query1) AND page_id = $page_id&#8217;}&#8221;;$friends= $facebook-&gt;api(array(&#8216;method&#8217; =&gt; &#8216;fql.multiquery&#8217;,&#8217;queries&#8217; =&gt; $fql,&#8217;access_token&#8217; =&gt; $access_token));And I use plenty page ids.When I ran this script in https:\/\/graph.facebook.com\/fql\/?access_token=AC&amp;q=QUERIES It works perfect.But when I use the php-sdk, sometime it<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/graph.facebook.com\/60506094\/picture?type=large\" \/><br \/>\nNiraj Shah<br \/>\nfacebook facebook-fql fql friend photos<br \/>\nHow to get tagged photos from particular friend? I&#8217;m now using this codeSELECT pid,src,images FROM photo WHERE object_id IN (SELECT object_id FROM photo_tag WHERE subject=$uid)this is the errorFatal error: Uncaught Exception: 1: An unknown error occurred thrown in \/FBapps\/album-downloader-pro\/php-sdk\/base_facebook.php on line 1254This one working for some friends? But not for all. Is this a error of query ?<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/1074f0a031cca12280359231a87662af?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nEric<br \/>\nphp facebook facebook-graph-api facebook-fql fql<br \/>\nUp until yesterday (June 20, 2012) my application was running smoothly. As of yesterday, I started receiving this error on literally ALL multiqueries to various pages (but curiously not to the active user).I&#8217;m really not sure what other information to provide besides the fact that this application is querying a single days worth of information from the &#8216;insights&#8217; table as well as a few other metrics from other tables&#8230; but that has never been a problem for me.I&#8217;ve looked at a few bug reports bu<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/78a0a4bb106d07b6c6f33a51988155e3?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nPeter Mortensen<br \/>\nphp facebook facebook-fql fql fql.multiquery<br \/>\nWhen I try to do an FQL to catch all the photos in a friend&#8217;s checkins, I&#8217;m getting an unknown error from the Facebook API.Here&#8217;s my code:$photo_params = array(&#8216;method&#8217; =&gt; &#8216;fql.query&#8217;,&#8217;query&#8217; =&gt; &#8220;SELECT attachment, post_id FROM stream WHERE post_id IN ( SELECT post_id FROM checkin WHERE author_uid in (SELECT uid2 FROM friend WHERE uid1 = me()))&#8221;,); \/\/Run query$result_photo = $fbapi-&gt;api($photo_params);I&#8217;ll handle the attachment data to get the photo&#8217;s URL then.How do I fix this?<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/cb15af790f2b2df4dd38f1cc989f99a2?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nDevin Dixon<br \/>\nphp facebook facebook-fql fql<br \/>\nI&#8217;m running an FQL Query and I keep this error but can&#8217;t figure out why because the error message tells me nothing. The query and error are:SELECT backdated_time, can_backdate, caption, created_time, owner, owner_comment, picture, summary, title, url FROM link WHERE owner IN (SELECT uid2 FROM friend WHERE uid1 = me()) AND (strpos(lower(summary),&#8221;boston&#8221;) &gt;=0 OR strpos(lower(owner_comment),&#8221;boston&#8221;) &gt;=0 ) LIMIT 20Fatal error: Uncaught Exception: 1: An unknown error occurredthrown in \/Facebo<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/graph.facebook.com\/100000571895657\/picture?type=large\" \/><br \/>\nVadim Khohlov<br \/>\nfacebook-fql fql<br \/>\nI am trying to perform this FQL request:https:\/\/api.facebook.com\/method\/fql.query?access_token=token1&amp;query=select+uid%2Cfirst_name%2Clast_name%2Cbirthday_date%2Cwork_history%2Cprofile_url%2Cwebsite%2Chometown_location%2Cpic_square+from+user+where+uid+IN+%28select+uid2+from+friend+where+uid1%3Dme%28%29%29&amp;format=json (of course, I don&#8217;t show real token)Facebook API returns error: {&#8220;error_code&#8221;:1,&#8221;error_msg&#8221;:&#8221;An unknown error occurred&#8221;}The same request with another token works correctly.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/cb15af790f2b2df4dd38f1cc989f99a2?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nDevin Dixon<br \/>\nphp facebook facebook-graph-api facebook-fql fql<br \/>\nI have this error when I try to query photos or links that my friends have based on key words. Here is some examples:Photo QuerySELECT caption, owner FROM photo WHERE owner in (SELECT uid2 FROM friend WHERE uid1 = me()) AND (strpos(lower(caption),&#8221;country&#8221;) &gt;=0 OR strpos(lower(caption),&#8221;countri&#8221;) LIMIT 20Link QuerySELECT caption, owner FROM link WHERE owner in (SELECT uid2 FROM friend WHERE uid1 = me()) AND (strpos(lower(caption),&#8221;country&#8221;) &gt;=0 OR strpos(lower(caption),&#8221;countri&#8221;) &gt;=0) L<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/c3b0b284625acbbdd1f43a862485ab8a?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nmatheusjardimb<br \/>\nandroid facebook facebook-graph-api fql facebook-android-sdk<br \/>\nI&#8217;ve started facing some problems with Facebook FQL without any change to my code. And they&#8217;re also getting solved without any change! I&#8217;m receiving this annoying message that has no clear indication of the problem and possible solutions.{&#8220;error&#8221;: {&#8220;message&#8221;: &#8220;An unknown error has occurred.&#8221;,&#8221;type&#8221;: &#8220;OAuthException&#8221;,&#8221;code&#8221;: 1} }I&#8217;ve been using FB-SDK for Android and changed it to parse content from url (GET) and the problem still existing. I&#8217;m trying to trigger this simple query (that works in t<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n","protected":false},"excerpt":{"rendered":"<p>maskedbacon php facebook api fql I&#8217;m trying to connect to the PHP SDK and retrieve a comment count from an fb:comments plugin I&#8217;m using on a project. However, when I try to make a $facebook-&gt;api() FQL call it always breaks my page. No error, just no more page processing past the API call.require_once &#8216;scripts\/fb-api\/facebook.php&#8217;;$facebook = [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5903","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5903","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=5903"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5903\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=5903"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=5903"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=5903"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}