Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get Facebook video thumbnail from its video id?

I am trying to embed Facebook video using the code below:

<object width="400" height="224" >
<param name="allowfullscreen" value="true" />
<param name="allowscriptaccess" value="always" />
<param name="movie" value="http://www.facebook.com/v/115316011865684" />
<embed src="http://www.facebook.com/v/115316011865684" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="400" height="224">
</embed>
</object>

It's working fine, but is there any similar way to show video thumbnail from video id?
For example: http://www.facebook.com/thumbnail/115316011865684 or something else?

like image 847
Mohd Shahid Avatar asked Aug 09 '11 18:08

Mohd Shahid


1 Answers

You can get the thumbnail picture from the video id by going to this Graph API URL - https://graph.facebook.com/VIDEO_ID/picture, e.g. https://graph.facebook.com/115316011865684/picture

like image 192
C Abernathy Avatar answered Oct 16 '22 14:10

C Abernathy