我使用FB.AppRequest
发送了一个请求,我在iPad上发了这个请求:
Request Sent {"to":["54742366872XXXX"],"request":"1521526728123676"}
当我通过在iPod上点击我的Facebook通知打开应用程序,并称为深度链接。我明白了:
fb170085486532707://authorize/#target_url=http%3A%2F%2Fm.facebook.com%2Fappcenter%2Fjbislands%3Ffbs%3D1001%26request_ids%3D322759461248823%252C333157203553454%26ref%3Dnotif%26app_request_type%3Duser_to_user
我没有看到这些号码之间有任何联系。当我运行Facebook的例子时:
void DeepLinkCallback(FBResult response) {
if(response.Text != null) {
var index = (new Uri(response.Text)).Query.IndexOf("request_ids");
if(index != -1) {
// ...have the user interact with the friend who sent the request,
// perhaps by showing them the gift they were given, taking them
// to their turn in the game with that friend, etc.
}
}
我总是得到-1
索引。任何人都可以告诉我如何阅读这个深层链接的东西?