![](/img/trans.png)
[英]Fetch Facebook user profile details with profile picture and Logout properties using Facebook C# SDK
[英]Get Facebook user's details and big profile picture in one call
我可以接到一个电话/me
详细信息,包括picture
, email
, name
。
但返回的URL是一个非常小的图片(50px * 50px)。
我知道我可以通过以下方式进行额外调用以获得更大的图像:
.../me/picture?width=999
但是有可能将它与:
https://graph.facebook.com/v2.5/me?fields=id,relationship_status,picture,email,gender,first_name,last_name,significant_other
在一个请求 - 响应而不是两个中接收所有这些信息?
干得好:
https://graph.facebook.com/v2.6/me?fields=id,relationship_status,picture.width(999),email,gender,first_name,last_name,significant_other
您可以通过以下方式创建嵌套请求:
https://developers.facebook.com/docs/graph-api/using-graph-api#fieldexpansion
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.