Hello everyone,
I want to show facebook comments in my site according site's design, without using facebook comment social plugin.
I have tried to get comments of my website page by using Graph API, and also FQL(Facebook Query Language) and got following result.
object(stdClass)#2236 (2) {
["og_object"]=> object(stdClass)#3366 (2) {
["comments"]=> object(stdClass)#1702 (2) {
["data"]=> array(3) {
[0]=> object(stdClass)#3367 (3) { ["created_time"]["message"]["id"] }
[1]=> object(stdClass)#3368 (4) { ["created_time"]["from"]["message"]["id"] }
[2]=> object(stdClass)#3370 (4) { ["created_time"]["from"]["message"]["id"] }
}
["paging"]=> object(stdClass)#3376 (1) {
["cursors"]=> object(stdClass)#3377 (2) { ["before"]["after"] }
}
}
["id"]=> string(16) "1621818877941537"
}
["id"]=> string(84) "https://MY-SITE-URL/blog/view/389154/the-usefulness-of-content" }
Here i am not getting “from” field in each comments can any body help how i get that ?
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- ihayredinov@ihayredinov

ihayredinov - 0 likes
You must log in to post replies.GraphQL is a query language, which allows you to specify, which fields you want returned in the actual query. Read the GraphQL docs - this questions is completely unrelated to Elgg, so seek help on StackOverflow.