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

  • Home
  • SEARCH
  • 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 7861101
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T22:33:50+00:00 2026-06-02T22:33:50+00:00

I am sending an app generated request to a user(already authorized the app) by

  • 0

I am sending an app generated request to a user(already authorized the app) by calling the below function

 function send_app_request(){
   FB.api( "/" + '<USER-ID>' + "/apprequests", "POST", {
     message: "Custom Request for you!",
     data: "<REDIRECT-APP-URL>",
     access_token: "<APP-ACCESS-TOKEN>"
   }, function(response) {
     console.log(response);
   });
 }

When a user clicks on the pop-up that appears beneath the app icon(with a red number) at the top right corner of the canvas, he gets redirected to the index page of the canvas with ‘request_ids’ as one of the parameters. How do I get/decode the ‘data’ parameter(contains a url) which i passed during the FB.api call(in the function above), so that I can redirect the user to a specific location(url) in my application.

I have seen this functionality in many applications, and I am “unable” to figure out how they are able to redirect the users to a specific location in their app, instead of the index page when the user clicks on the pop up.

  • 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-02T22:33:51+00:00Added an answer on June 2, 2026 at 10:33 pm

    The data is specific for that request you send to the user.

    When the user clicks the requests and gets to your page (with the “request_ids” parameter) you should then get the data for the requests.

    The url to get the requests from:

    https://graph.facebook.com/USER_ID/apprequests

    You will get a list of the requests and the data for each one (if such was sent).
    You then need to delete the request for the user by issuing a request to:

    https://graph.facebook.com/REQUEST_ID?method=delete

    You can find a php example here: Upgrade to Requests 2.0

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

Sidebar

Related Questions

I am sending an app generated request to a user(already authorized the app) by
I am using the following url for sending an app generated request to a
I am using facebook app-generated requests for sending notifications to users. I noticed that
My app is sending messages to client groups. I send message to each client
Sending Email in Android using JavaMail API without using the default/built-in app I'm trying
I'm currently working on an app sending request on a server for a voting
I'm developing an Android app in which I have to do a POST request
Is it possible to send an app-generated notification request to all users of a
I want to write an app sending messages. How can I tell Android OS
My app is sending users email with the following: https://blah.chacha.com/feedback/##comment-reply-169 But for some reason,

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.