Reputation: 659
I have referenced a few problems about this issue on StackOverflow, but nothing seems to work.
Code:
NSMutableDictionary *dc = [NSMutableDictionary dictionaryWithObjectsAndKeys:@"0", @"unread", nil];
[facebook requestWithGraphPath:@"21306691" andParams:dc andHttpMethod:@"POST" andDelegate:self];
21306691
is the notification_id
. I am sure that I have manage_notifications
permission.
Please help me, thanks a lot!
Upvotes: 0
Views: 462
Reputation: 21
notif_recipient_id_notificationid
Where notif
is a key word,
recipient_id
is id of logged in facebook user
notificationid
is the id of notification (which you got).
Use the above pattern.
Upvotes: 2
Reputation: 1150
I think your Notification ID is wrong! I get a format like this: notif_524065381_15010202
for Notification IDs!
Always check with Graph API Explorer to see if your Facebook request works, if yes, then look at your code!
Upvotes: 1