如何使用Facebook Graph API显示相册封面 [英] How can I show the album cover with Facebook Graph API
本文介绍了如何使用Facebook Graph API显示相册封面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这是显示页面图片的代码:
This is the code to display the page-picture:
<img src="https://graph.facebook.com/157295940962451/picture"/>
如何在此页面上显示给定相册的相册封面
How can I show the album cover of a given album in this page
推荐答案
不知道如果我做错了,但是只是想指出,这些答案在我将access_token附加到url之前并不适用于我:
Not sure if I am doing something wrong, but just wanted to point out that these answers did not work for me until I appended my access_token to the url:
https://graph.facebook.com/<?=$album['id']?>/picture?type=album&access_token=<?=$access_token?>
这篇关于如何使用Facebook Graph API显示相册封面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文