Get video object (or video id) from Facebook timeline post -


i'm trying facebook video object timeline post :

  1. i'm getting posts graph api /me/home
  2. i can photo object via returned object_id
  3. the problem there no object_id value video post type

    {    "id": "750834774_10152138100019775",     "from": {       "id": "750834774",        "name": "emilie volpi"    },     "message": "haha le monde qui fait une analyse geopolitique de games of thrones^^ une bonne manière de se remettre à jour pour la nouvelle saison demain !!!!!",     "picture": "https://fbexternal-a.akamaihd.net/safe_image.php?d=aqcclqte2bpmicry&w=130&h=130&url=http%3a%2f%2fs2.dmcdn.net%2fehfv4%2f526x297-mo8.jpg",     "link": "http://www.dailymotion.com/video/x1lu3ke_game-of-thrones-comprendre-la-crise-a-westeros-en-4-minutes_news",     "source": "http://www.dailymotion.com/swf/video/x1lu3ke?autoplay=1",     "name": "« game of thrones » : comprendre la crise à westeros en 4 minutes",     "caption": "www.dailymotion.com",     "description": "guerre des cinq rois, pression des marcheurs blancs et des sauvageons au nord, retour des dragons à l’est… le royaume des sept couronnes est plongée dans une crise politique sanglante depuis plus d’un an. le monde vous propose un décryptage de la crise en quatre minutes mais attention… spoilers !",     "icon": "https://fbstatic-a.akamaihd.net/rsrc.php/v2/yj/r/v2onatytqze.gif",     "actions": [       {          "name": "comment",           "link": "https://www.facebook.com/750834774/posts/10152138100019775"       },        {          "name": "like",           "link": "https://www.facebook.com/750834774/posts/10152138100019775"       }    ],     "privacy": {       "value": ""    },    "type": "video",     "status_type": "shared_story",     "application": {    "name": "links",     "id": "2309869772"  },   "created_time": "2014-04-06t09:39:57+0000",   "updated_time": "2014-04-06t09:39:57+0000",   "likes": {     "data": [       {         "id": "1283687218",          "name": "max imus"       }     ],      "paging": {        "cursors": {           "after": "mti4mzy4nzixoa==",            "before": "mti4mzy4nzixoa=="        }     }   } },  

as can see there no video id can't video

my goal retrieve embed_html video object

please tell me how (graph api or fql query)

i think can embed_html videos hosted on facebook. example you're using hosted on dailymotion , referenced in post. that's main difference.

i guess use following fql embeddable video url:

select attachment.media.video.source_url stream post_id='750834774_10152138100019775' 

you can include dynmically in page if pass source_url content iframe src attribute example


Comments

Popular posts from this blog

PHPMotion implementation - URL based videos (Hosted on separate location) -

javascript - Using Windows Media Player as video fallback for video tag -

c# - Unity IoC Lifetime per HttpRequest for UserStore -