Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6942981
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T13:05:47+00:00 2026-05-27T13:05:47+00:00

I am trying to update a notification via the Facebook ADK. The documentation says

  • 0

I am trying to update a notification via the Facebook ADK. The documentation says this:

“You can mark a notification as read by issuing an HTTP POST request to /NOTIFICATION_ID?unread=0 with the manage_notifications permission.”

I know how to read the notifications with the graph path “me/notifications”, but I am unsure of the code to do a POST to mark a notification as being read.

Facebook facebook = ......."Authorized Facebook Object"
Bundle parameters = new Bundle();
parameters.putString(Facebook.TOKEN, accessToken);

…
How do I add in the “/NOTIFICATION_ID?unread=0” parameters?
…

String result = facebook.request("me/notifications", parameters, "POST");

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T13:05:47+00:00Added an answer on May 27, 2026 at 1:05 pm

    Ok…I figured this one out:

    Facebook facebook = ...
    String unreadParameter = "0";   
    Bundle parameters = new Bundle();
    parameters.putString(Facebook.TOKEN, accessToken);
    parameters.putString("unread", unreadParameter);
    String result = facebook.request(notificationID, parameters, "POST");
    

    The Graph Path needs to only be the “NOTIFICATION_ID” and nothing else…I was putting in “me/notifications/NOTIFICATION_ID” and other variations.

    I hope that others find this helpful.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to post Notifications via AlarmManager delayed. For this purpose I created an
I am trying update text views while this loop is processing. Here is my
I'm trying to implement the progress notification mechanism when copying files. I'm doing this
I am trying to update my UI in FirstActivity when I receive a notification
The documentation for MFMessageComposeViewController says you should check [MFMessageComposeViewController canSendText] before trying to create
I'm trying to update the progressbar which is integrated in my notification bar but
I am trying to update an object in NSMutableArray . Product *message = (Product*)[notification
I am trying to run this script on a ubuntu 11.04 box: http://taoofmac.com/space/projects/ReGrowl Its
I am trying to make a push notification about Internet page update, but downloading
I am trying update my version of sqlite3 on mac os x 10.5.7 I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.