Retrieve data from facebook graph API 2.4 -


can me retrieve data using new graph api v2.4 of facebook, using url-

https://graph.facebook.com/{user-id}/feed?limit=1&locale=en_gb&access_token={access-token}

previously provides data, (provide data view in json format)

    "id": "12345_67890",     "from": {       "name": "xyz",       "id": "123456"     },     "message": "hwregdsfdsf",     "link": "http://example.com/wordpress/",     "name": "example.com",     "caption": "example.com",     "icon": "https://www.facebook.com/images/icons/post.gif",     "actions": [       {         "name": "comment",         "link": "https://www.facebook.com/12345/posts/67890"       },       {         "name": "like",         "link": "https://www.facebook.com/12345/posts/67890"       },       {         "name": "share",         "link": "https://www.facebook.com/12345/posts/67890"       }     ],     "privacy": {       "value": "everyone",       "description": "public",       "friends": "",       "allow": "",       "deny": ""     },     "type": "link",     "status_type": "shared_story",     "application": {       "category": "business",       "link": "http://example.com/wordpress/",       "name": "him_test_app",       "id": "562********27561"     },     "created_time": "2015-07-09t14:17:56+0000",     "updated_time": "2015-07-09t14:17:56+0000",     "is_hidden": false,     "subscribed": true,     "is_expired": false   } 

but provide only

     "message": "hwregdsfdsf",      "created_time": "2015-07-09t14:17:56+0000",      "id": "12345_67890"   } 

ok, has been implemented

its implementation in various beautiful modules of joomla webkul, looks great, have here

you can manually specify fields want returned grpah api.

see

for example

https://graph.facebook.com/{user-id}/feed?limit=1&locale=en_gb&access_token={access-token}&fields=id,from,message,link,caption,icons,actions,privacy,status_type 

Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -