Facebook PHP SDK - >通过电子邮件获取用户ID不再可能? [英] Facebook PHP SDK -> getting user id by email no longer possible?
问题描述
以前,可以通过轮询api来获取与电子邮件相关联的Facebook用户标识:
Previously it was possible to get the facebook user id associated to an email by polling the api:
$facebook->api('/search?q=' . $email . '&type=user');
或通过url:
https://graph.facebook.com/search?q=mailbox@example.com&type=user
最后一次为我工作是10月28日。现在返回一个空的结果。搜索其他任何内容仍然有效。
The last time it worked for me was october 28th. Now an empty result is returned. Searching by anything else still works.
API中有什么改变还是Facebook现在阻止电子邮件搜索?我使用最新的(3.1.1)PHP SDK和OAuth 2.0;
Did anything in the API change or is facebook now blocking email searches? I'm using the latest (3.1.1) PHP SDK and OAuth 2.0;
推荐答案
Facebook已经确认这是一个错误:
http://developers.facebook.com/bugs/292220680814266
Facebook has confirmed this as a bug: http://developers.facebook.com/bugs/292220680814266
1个月,仍然没有修复...
1 month and still no fix ...
@Mod:同样的问题稍后在这里被问到: Facebook图形API搜索通过电子邮件突然停止工作
@Mod: the same question was asked later here: Facebook Graph API "search" by email suddenly stopped working
这篇关于Facebook PHP SDK - >通过电子邮件获取用户ID不再可能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!