开发者

can i mark notification as already read , using the graph api?

I'm using this to get a notification list:

https://graph.facebook.com/me/notifications/?incl开发者_开发百科ude_read=0

Now I'd like to mark them as read, how do I do this?


You should issue a POST request to https://graph.facebook.com/%notification_id%?unread=false where %notification_id% is the notification identifier you've received earlier (usually something like 'notif_XXXXX_YYYYY'). If you want to mark all notifications read, you can perform a batch request.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜