通过Facebook API登录的用户的全名和个人资料图片可以公开显示吗? [英] Can the full name and profile picture of a user signed in via Facebook API be displayed publicly?

查看:117
本文介绍了通过Facebook API登录的用户的全名和个人资料图片可以公开显示吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

转发,是否可以使用Facebook Open Graph API向用户的Facebook朋友的其他网站会员显示用户的全名和个人资料图片?

Rephrased, is it possible to use the Facebook Open Graph API to display a user's full name and profile picture to other site members who are not Facebook friends with the user?

推荐答案

是的;用户的名字,姓氏和个人资料图片是公开的。您可以通过调用以下方式从Graph API(以及其他可用的信息)中检索它们:

Yes; users' first name, last name and profile picture are publicly available. You can retrieve them from the Graph API (along with other information they have made available) by calling:

https://graph.facebook.com/ [user_id_or_name]

https://graph.facebook.com/[user_id_or_name]

这将返回包含相关信息的JSON字符串。

This will return a JSON string containing the relevant information.

享受! :)

这篇关于通过Facebook API登录的用户的全名和个人资料图片可以公开显示吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆