开发者

Changing video thumbnail_link in Facebook

开发者 https://www.devze.com 2023-04-11 22:35 出处:网络
Can I update or change the thumbnail_link for a video in Facebook? I access the video attributes with this query:

Can I update or change the thumbnail_link for a video in Facebook?

I access the video attributes with this query:

$facebook->api(array('method' => 'fql.query', 'quer开发者_如何学JAVAy' => "SELECT vid, thumbnail_link FROM video WHERE owner='$user_id' AND vid=22170513xxxxx" ));

Now, if I want to change the thumbnail image for the video, how can I do it? I tried the FQL:

'query' => "UPDATE video SET thumbnail_link ='xyz'  WHERE owner='$user_id' AND vid=22170521xxxx"

But it doesn't work, so what can be the process?


FQL is only for querying data exposed by the Graph API, so you can only fetch data. You can read the documentation in Facebook Query Language (FQL).

Queries are of the form:

SELECT [fields] FROM [table] WHERE [conditions].
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号