久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

如何使用 Facebook Graph API 獲取用戶的網(wǎng)絡(luò)信息?(

How to get user#39;s network information using Facebook Graph API? (PHP)(如何使用 Facebook Graph API 獲取用戶的網(wǎng)絡(luò)信息?(PHP))
本文介紹了如何使用 Facebook Graph API 獲取用戶的網(wǎng)絡(luò)信息?(PHP)的處理方法,對(duì)大家解決問(wèn)題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來(lái)一起學(xué)習(xí)吧!

問(wèn)題描述

我已經(jīng)玩了一周左右的 Facebook Graph API,仍然找不到如何獲取用戶的網(wǎng)絡(luò)信息?不知道Graph API是否存儲(chǔ)了用戶的網(wǎng)絡(luò);我沒(méi)有看到這樣的信息.簡(jiǎn)單來(lái)說(shuō),如果用戶在Google"網(wǎng)絡(luò)中,我是否可以獲取該用戶所屬網(wǎng)絡(luò)的名稱和 ID?

I have been playing with Facebook Graph API around a week, and I still could not find how to get user's network information? I don't know if the Graph API stores user's network; I didn't see such information. Simply, if a user is in "Google" network, may I get the name and the ID of the networks that the user belongs to?

如果這不可能,我可以聯(lián)系用戶的輔助電子郵件地址嗎?

If this is not possible, may I reach the user's secondary email addresses?

感謝您的幫助.

推薦答案

使用 FQL : User 表的 affiliations 字段包含此信息

Using FQL : the affiliations field of the User table contains this information

示例調(diào)用:https://graph.facebook.com/fql?q=select affiliations from user where uid= 4&access_token=

示例響應(yīng):

{
  "data": [
    {
      "affiliations": [
        {
          "nid": 16777217, 
          "name": "Harvard", 
          "type": "college"
        }, 
        {
          "nid": 50431648, 
          "name": "Facebook", 
          "type": "work"
        }
      ]
    }
  ]
}

這篇關(guān)于如何使用 Facebook Graph API 獲取用戶的網(wǎng)絡(luò)信息?(PHP)的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

【網(wǎng)站聲明】本站部分內(nèi)容來(lái)源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問(wèn)題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請(qǐng)聯(lián)系我們刪除處理,感謝您的支持!

相關(guān)文檔推薦

Joining 2 tables in SELECT(MYSQL/PHP)(在 SELECT(MYSQL/PHP) 中加入 2 個(gè)表)
How to make lt;option selected=quot;selectedquot;gt; set by MySQL and PHP?(如何使lt;option selected=“selectedgt;由 MySQL 和 PHP 設(shè)置?)
Auto populate a select box using an array in PHP(使用 PHP 中的數(shù)組自動(dòng)填充選擇框)
PHP SQL SELECT where like search item with multiple words(PHP SQL SELECT where like search item with multiple words)
json_encode produce JSON_ERROR_UTF8 from MSSQL-SELECT(json_encode 從 MSSQL-SELECT 產(chǎn)生 JSON_ERROR_UTF8)
MySQL ORDER BY rand(), name ASC(MySQL ORDER BY rand(),名稱 ASC)
主站蜘蛛池模板: 精品视频在线播放 | 国产午夜亚洲精品不卡 | 亚洲天堂中文字幕 | 精品久久久久久久久久久院品网 | 日日拍夜夜 | 一级女毛片 | 日韩高清中文字幕 | 午夜成人免费视频 | 日日碰狠狠躁久久躁96avv | 成人精品鲁一区一区二区 | 青久草视频 | 欧美国产亚洲一区二区 | 成人影院午夜 | avtt国产| 国产日韩欧美一区 | 亚洲黄色片免费观看 | 黄色三级毛片 | 成人综合一区二区 | 亚洲一二三区免费 | 性高朝久久久久久久3小时 av一区二区三区四区 | av激情在线 | 日韩一区中文字幕 | 亚洲精视频 | 综合国产 | 精品久久久久久中文字幕 | 天天人人精品 | 精品亚洲一区二区 | 中文字幕高清免费日韩视频在线 | 超碰日韩| 日韩欧美久久 | 欧美日韩亚洲国产综合 | 国产成人免费在线观看 | 毛片一区二区 | 国产视频h | jizz中国日本| 日韩一区二| 成人片在线看 | 亚洲国产一区在线 | 免费人成激情视频在线观看冫 | 美国a级毛片免费视频 | 久久综合一区 |