How to get cover video url from Facebook? - facebook

Currently, even if I have a video on my cover, when I request {page_id}?fields=cover, the url is still image instead of video. So I'm wondering how to get Facebook cover video url using graph api? Thanks in advance.

Related

Uploaded photo via Facebook's Open Graph API isn't centered in Timeline thumbnail

Facebook does not correctly center the Timeline photo thumbnail when I upload the photo (810x694) via Open Graph API (POST /me/photos). However, when I manually attach the photo as a status update, the Timeline photo thumbnail is centered properly. Is there a request parameter, fix, or workaround for this?
Photo uploaded via OG API:
Photo posted as a status update:
Totally overlooked this, the issue was related to tagged friends in the photo. I changed the tag position to the center/50% to resolve the issue.

Facebook Feed Dialog with a video already uploaded in facebook

I'm trying to do a Feed Dialog in Facebook with a video already uploaded in Facebook.
First, I tried putting in the 'source' param the URL of the video, extracting it with the json return by Graph Api. However, Facebook doesn´t support their own media URLs in this way.
My intention is to show the same effect when you click in "Share" in any video in you facebook profile, but I don't know how i can refer the video.
I don't find anything in the Facebook's developers documentation.
Try linking to the video page itself, like how you link to YouTube if you want to share a video. Facebook renders the YouTube player in the wall when you do this, so in theory it should do the same when you share a Facebook Video URL.
I've just found the option: "Embed this Video" . In the code that Facebook gives in this option, I can find the URL for the video (www.facebook.com/v/video_id), and this works fine in the feed dialog.
The problem was the URL given in the JSON.
Thanks

Streaming video from Facebook

I want to stream a video from Facebook to my site and use my own custom video player (flowplayer for instance) to play it. Basicly I want to access the registered user's videos and play them in my application. is it possible? If it is, how can I achieve that?
Fairly easy, but there are a few steps to go thru.
Grab a list of their videos from the Graph API me/videos using their user access_token
Present user with list of their videos, let user select video to watch.
For the id of the video selected, call the Graph API and FQL the src or src_hq which gives you the link to the mp4 of the video
Point your custom player to the mp4 link.

How to post an image link to Facebook feed using graph API

I'm trying to post a picture to a feed using the graph API but this does not work if my image url does not have an image filename extension such as .png
(I have a URL to a png without the .png file extension as the image is created dynamically on the server)
This does seem to work when I manually post the link on my Facebook wall. Facebook wraps the URL like this:
http://external.ak.fbcdn.net/safe_image.php?d=AQAsdfyQsdfXvV5h59OP&w=90&h=90&url="my image url"
Does anyone know how I can post the URL of an image to the picture field of a feed post?
Facebook downloads and caches any image posted on the wall. It is then distributed on their CDN (content delivery network).
The reason is simple: load times. If someone posts an image from a slow server on FB, this could make experience of Facebook slow. So they copy all that.
So
maybe Facebook still has an old copy. Try with a fresh URL.
can facebook access the URL, or only your user?

facebook video thumbnail image URLs?

For example, this is the url to a facebook video thumbnail:
http://vthumb.ak.fbcdn.net/vthumb-ak-sf2p/v10822/239/59/505867356/t505867356_382364037356_272.jpg
There are quite a few obfuscation identifiers in there which prevent me from doing something like taking a video id and making a thumbnail link.
The reason I'd like the thumbnail is to be able to populate a 'navigator' band with the various videos from the app.
Anyway, anyone know of a way to get the video thumbnail url?
find your video id, and this the url of thumbnail https://graph.facebook.com/VIDEO_ID/picture