0
votes
1answer
51 views

Invalid argument in foreach

I am using the following to retrieve comments from FB: $url = urlencode("http://*****.com/pages/view?id=2153&item=Mens-Collection-Shoes"); $request_url ...
-1
votes
1answer
85 views

Invalid argument in foreach - FB graph API [duplicate]

Possible Duplicate: Invalid argument in foreach I'm simply trying to parse FB graphi API results. When I try the foearch loop I get Invalid Argument error Here's the code $url = ...
-1
votes
2answers
238 views

error in json decode - Facebook [closed]

I have this piece of code:- <?php $xml = ...
0
votes
1answer
304 views

getting story tags from graph api returns strange id results for the tagged

The best way for me to explain this is to show you. Seems like a float() error in a 64bit system. when i call /anotherfeed/feed or any page for that matter, posts with story_tags return some of the ...
-3
votes
1answer
588 views

how to get nested json decode data in php.

i Want to fetch this data using json decode. Please Help.. So far i come up with this script but i unable to fetch the second last and last 'name' and 'link' under actions. please help.. ...
0
votes
1answer
195 views

Get data from Facebook Graph API with JSON

I want to print the ID of the comment (eg. 10151828637085391_33268745) from this page but I don't know how to get pass the URL. After I had decoded the data with JSON and printed it out with ...
0
votes
2answers
932 views

Facebook App invitation request

I want to send the App req to 5 people , i have managed to get the UserID's of 5 people but its always those same 5 people , isnt there a way to randomise the USERID's which i get from Facebook ? ...
0
votes
1answer
299 views

Proper way to choose specific data after json_decode to display on webpage from Facebook Albums

I believe I am possibly going about this either the wrong way or hard way. I've spent the last +24 hours reading posts and experimenting to try to get the result I want. I grabbed different code ...
0
votes
1answer
171 views

DataContract class for Facebook 'Like' Graph API

So I'm trying to decode the json returned by the Facebook Graph API for user likes into objects using the DataContractJsonSerializer. I've tried creating a couple different [DataContract] classes now ...
0
votes
0answers
786 views

Dynamic post posting to page wall step-by-step what I did

Ok so I finally managed to successfully link dynamic news posts on my website with my page's wall as Page (not user) through PHP. Still I'm wondering if my solution is correct, or if it'll work on the ...
0
votes
1answer
540 views

Parsing from Facebook's Graph API. Should be simple but

Actually I have been tasked to create a simple site and this is my first effort to merge with the facebook Graph API. Thing is, I want to connect to a group and fetch the feed messages (no pics, no ...
0
votes
2answers
684 views

fetching data from json using php?

I have a Json data retrieved from facebook using graph api, now i am going to parse that data, i decoded that json $decodedjson= json_decode($jsondata); after that i got data in following format. ...
0
votes
1answer
2k views

Facebook graph api json_decode error

Playing around with the Facebook Graph API and the Facebook PHP SDK. Having a problem using json_decode(), I keep getting the error "json_decode() expects parameter 1 to be string". if ($fbme) { ...