简体   繁体   English

如何将我自己的私人 Facebook 照片导入我的网站?

[英]How to import my own private facebook photos to my website?

I searched internet for hours and I couldn't figure out a simple way to do this ... My goal is to let everyone who access my website see all my own facebook photos (so I will be using my own user id , not the logged in user) .我在互联网上搜索了几个小时,但我想不出一个简单的方法来做到这一点......我的目标是让每个访问我网站的人都能看到我所有的 Facebook 照片(所以我将使用我自己的用户 ID,而不是登录用户) I don't like to use Embedded Posts because I want photos to be synced with my own personal facebook photos every time a user refreshes the page...我不喜欢使用嵌入式帖子,因为我希望每次用户刷新页面时照片都与我自己的个人 Facebook 照片同步......

So do I need to give my facebook app full permission to access my own profile so it can retrieve all my data without asking for login ?那么我是否需要授予我的 facebook 应用访问我自己的个人资料的完全权限,以便它可以在不要求登录的情况下检索我的所有数据?

one more thing , I'm really confused about where facebook permissions are stored in ?还有一件事,我真的很困惑 facebook 权限存储在哪里? and how they work ?它们是如何工作的?

You would need to use the Graph API to read the photos, this is the API call: https://developers.facebook.com/docs/graph-api/reference/v2.3/user/photos#Reading您需要使用 Graph API 来读取照片,这是 API 调用: https : //developers.facebook.com/docs/graph-api/reference/v2.3/user/photos#Reading

You need a User Token for that, an Extended User Token is valid for 60 days and you need to refresh it manually every 2 months.为此,您需要一个用户令牌,扩展用户令牌的有效期为 60 天,您需要每 2 个月手动刷新一次。

More information about Access Tokens and how to generate them:有关访问令牌以及如何生成它们的更多信息:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何使用网站上的图片在Facebook上共享我自己的网站 - How to share my own website on facebook with image from website 我想知道如何在我自己的网站上显示我的 Facebook 提要? - I wonder how I can show my Facebook feed on my own website? 如何在自己的网站上使用Codepen代码 - how to use codepen code into my own website 如何在我自己的网站上找到变量的名称? - How to find names of variabels on my own website? 如何在我的网站上嵌入yammer私信? - How to embed yammer private messages on my website? 想像我的网站一样在我的网站上向下显示人名或照片旁边的图像 - want to display images next to people's names or photos on my website down to down like facebook 如何让我的 RASA 助手在我自己的网站上可用? - How to make my RASA assistant available on my own website? 如何用我自己网站上的数据填写另一个网站的表格 - How to fill another website's form with the data in my own website Facebook在我的网站上分享 - Facebook sharing on my website 如何在我的网站上添加 Facebook 分享按钮? - How to add facebook share button on my website?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM