在iOS中使用Facebook API将通知标记为已读 [英] Mark notification as read with Facebook API in iOS

查看:110
本文介绍了在iOS中使用Facebook API将通知标记为已读的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在StackOverflow上引用了有关此问题的一些问题,但似乎无济于事.

I have referenced a few problems about this issue on StackOverflow, but nothing seems to work.

代码:

NSMutableDictionary *dc = [NSMutableDictionary dictionaryWithObjectsAndKeys:@"0", @"unread", nil];
[facebook requestWithGraphPath:@"21306691" andParams:dc andHttpMethod:@"POST" andDelegate:self];

21306691notification_id.我确定我具有manage_notifications权限.

21306691 is the notification_id. I am sure that I have manage_notifications permission.

请帮助我,非常感谢!

推荐答案

notif_recipient_id_notificationid

其中notif是关键字, recipient_id是已登录的Facebook用户的ID notificationid是通知ID(您收到的ID).

Where notif is a key word, recipient_id is id of logged in facebook user notificationid is the id of notification (which you got).

使用上述模式.

这篇关于在iOS中使用Facebook API将通知标记为已读的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆