facebook - fb graph api get video source in group feed -


i have private group , fetched posts using following url https://graph.facebook.com/v2.10/fb_group_id/feed?fields=attachments{title,media,subattachments,type,url},type,created_time,description,message&limit=10&access_token=my_access_token
returns array this

{   "data": [     {       "type": "video",       "created_time": "2017-08-20t17:36:01+0000",       "description": "descr",       "message": "title of post",       "id": "1019505588306031_1020323371557386",       "attachments": {         "data": [           {             "media": {               "image": {                 "height": 226,                 "src": "https://scontent.xx.fbcdn.net/...",                 "width": 400               }             },             "type": "video_inline",             "url": "https://www.facebook.com/abcdefgh/videos/video_id/"           }         ]       }     },{another post},{...}.....]} 

but not return video's raw url (source field), tried many things like

?fields=attachments{title,media,subattachments,source,type,url},type ?fields=attachments{title,media,subattachments{source},type,url},type ?fields=attachments{title,source,media,subattachments,type,url},type ?fields=attachments{title,{source},media,subattachments,type,url},type ?fields=source,attachments{title,media,subattachments,type,url},type ?fields=id{source},attachments{title,media,subattachments,type,url},type 

nothing worked

video source can fetched separately each
https://graph.facebook.com/v2.10/video_id?fields=source
want have field in first url, getting each video source field separately require many requests , hard handle.


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -