1

我需要发送一个URL到选定的朋友列表。我正在使用以下代码:Facebook图形API Object_id

// Use FB.ui to send the Request(s) 
    FB.ui({method: 'apprequests', 
    to: sendUIDs, 
    action_type:'send', 
    title: 'testing', 
    message: 'testing send.', 
    **object_id: 'YOUR_OBJECT_ID'** 
    }, callback); 

我不确定什么是object_id在这里。任何人都可以解释吗?

在此先感谢。

+0

_“我需要发送一个URL到选定的朋友列表” - - 这不是请求对话框的用途。 – CBroe 2014-09-03 13:11:53

+0

CBroe。谢谢回复。那么我需要使用什么?我创建了一个多朋友选择器。我需要给他们发送一个URL。 – Ankith 2014-09-03 14:30:01

+0

这是可能的。没有答案。 :( – Ankith 2014-09-03 15:01:21

回答

0

根据转换here,没有办法获得完整的用户列表。您可以获取不使用应用程序的invitable_friends或使用该应用程序的朋友。

在我想到结合两个列表结果并使用它的点上,但invitable_friends不返回用户的实际ID。它为每个用户发送一个临时令牌,可用于仅发送apprequest。

我希望这将有助于未来的人。

感谢支持@ CBroe。