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 8034745
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T02:06:51+00:00 2026-06-05T02:06:51+00:00

When making app requests on Facebook using the iOS SDK, the developers guide requires

  • 0

When making app requests on Facebook using the iOS SDK, the developers guide requires that developers clear the request when the app is opened.

Deleting Requests

When a user is directed to your app by clicking accepting a Request
you must delete the request after it has been accepted. Requests are
not automatically deleted once they have been clicked, thus it is the
developer’s responsibility to clear them once they have been accepted.
https://developers.facebook.com/docs/requests/#deleting

Is there a function to clear all notifications, or other helpers like that?

  • 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-06-05T02:06:53+00:00Added an answer on June 5, 2026 at 2:06 am

    The following API will clear a specific app-request:

    FBRequest *request = [facebookObject requestWithGraphPath:@"REQUEST-ID_USER-ID"
                                        andParams:[NSMutableDictionary dictionary]
                                        andHttpMethod:@"DELETE"
                                        andDelegate:self];
    

    Substitute the request ID for REQUEST-ID and the Facebook user’s Id for USER-ID (the underline between the two is important). Change the andDelegate and andParams as needed, but don’t pass a nil object to andParams otherwise it will completely fail.

    To delete all the requests, you need to iterate through all the requests passed in the url in :

    - (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url;
    

    which is probabaly implemented in your app delegate.

    All of the user’s existing request-ids are comma-separated in the request_ids parameter of the target_url paramater in the url NSURL. This only happens when a user clicks on an app-request notification in the iOS Facebook app and your facebook app has iOS Native Deep Linking enabled.

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

Sidebar

Related Questions

A little background info; I'm making an iOS App that uses facebook integration. I
I am using facebook latest iphone sdk, I am making multiple request to facebook
I'm using the ASIHTTPRequest lib in my iOS app for making REST requests to
I am making an android app that publishes facebook posts. I want it to
I'm making a simple facebook canvas app (page tab) with PHP, that posts something
I'm using the ASIHTTPRequest lib in my iOS app to make RESTful requests to
I am having a strange problem while making app requests. I understand that when
I'm writing a web app that will be making requests via AJAX and would
I have a Facebook canvas app. I am using the JS SDK to authenticate
I am making restful requests in my silverlight app, I want to get information

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.