![](/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.