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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T13:57:25+00:00 2026-06-06T13:57:25+00:00

I am encountering a problem with passing data between pages that require facebook access.

  • 0

I am encountering a problem with passing data between pages that require facebook access.

Here is a simple example:
Page 1 – has data ({str:”123″}) (but still didn’t get the facebook access)
Then it redirects to facebook_authentication which redirects to the redirect_uri (page 2)
Page 2 – needs to get the data from page one, but it was interrupted by the facebook auth dialog.(page 2 needs the facebook access to submit the str data).

Is there any way I can pass the data from page one through the auth dialog to page 2?
Something like so: auth_url..parameters..?str=123
then i’ll get it in page 2 like so $_GET[‘str’];

  • 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-06T13:57:26+00:00Added an answer on June 6, 2026 at 1:57 pm

    I wrote an app that was running in facebook once and had to deal with this too. I used something like this

    $sAppId = '12345567999455';
    
    $sFBUrl = 'http://www.facebook.com/pages/<name>/<id>?sk=app_<app_id>&app_data=key:val;key:val';
    
    $sDialogUrl = 'https://www.facebook.com/dialog/oauth?client_id=' . $sAppId . '&redirect_uri=' . urlencode($sFBUrl)
    
    echo "<script>top.location.href='" . $sDialogUrl . "'</script>";   
    

    And then parsed the data

    $aAppData = explode(';', $aSignedRequest['app_data']);
    

    Which brings us to a solution for your case

    https://www.facebook.com/dialog/oauth?client_id=app_id&redirect_uri=your_url?str=123
    

    In my last app I used a trick I explained here: SSO Website-Network with Facebook Login

    Regards

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

Sidebar

Related Questions

I am encountering a funny problem with UIPickerView. My data source has 2 items:
Still programming an iPad game in Actionscript 3, I am encountering a problem that
I'm encountering an odd problem showing .svg using simple img tags on Apache. On
I've been encountering a weird problem when receiving the Facebook oauth response string using
The problem I am encountering is that for my login form I have to
I´m encountering this problem trying to mock some objects that receive complex lambda expressions
I suddenly started encountering this problem out of nowhere. My 'Manage Categories' page is
I am encountering a problem using CFGRID with JQuery. Here are the sample codes
I am encountering a problem assigning classes and hidding and showing td 's. Here
I'm encountering a problem with one of my IEnumerable 's that I haven't seen

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.