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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T18:34:04+00:00 2026-05-25T18:34:04+00:00

I am developing a Canvas application in Facebook in php. When the user allows

  • 0

I am developing a Canvas application in Facebook in php. When the user allows the permission it’s redirected to my site, as the say in the help page https://developers.facebook.com/docs/reference/dialogs/oauth/.

But I don’t want to be redirected to my site, I want to be redirected to the facebook page which contains my site in an iframe. How can I do this? It should be quite straightway.

If the user clicks "Allow", they will be directed to
http://www.example.com/response#access_token=...&  expires_in=3600
If the user clicks "Don't Allow", they will be directed to
http://www.example.com/response?
  error=access_denied&
  error_description=The+user+denied+your+request.

I don’t want to go to example.com but to facebook.com/app/ID_APP which contains example.com

EDIT:

after Floyd Wilburn’s answer, I tried to put my app page but it doesn’t work. It gives me an error. While the right URL looks like this

https://www.facebook.com/dialog/permissions.request?app_id=53434949999999&display/=page&next=http%3A%2F%2Fwww.example.com%2Fapp%2F%3Fnext_url%3Dhttp%253A%252F%252Fapps.facebook.com%28403a2224870942%252F&response_type=code&fbconnect=1&perms=email%2Cread_stream

(we can see the my site url example.com encoded with a parameter ‘next_url’ to which the user will b redirected from my site page)

the URL of the wrong way looks like this (Just changin my site to my facebook app url )

https://www.facebook.com/dialog/oauth?client_id=185340534870942&redirect_uri=http%3A%2F%2Fapps.facebook.com%2F534349499999s992%2Fhello.php

So my solution is what I commented. The user gets to my site and is redirected to the facebook app URL.

Anyone can guess why Floyd Wilburn’s solution doesn’t work for me?

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-25T18:34:05+00:00Added an answer on May 25, 2026 at 6:34 pm

    Just set the redirect_uri parameter to point at http://apps.facebook.com/yourapp/somepage and it will go there instead.

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

Sidebar

Related Questions

I am developing an Iframe-Canvas Application. I am using Master Page to gain permission
I am in the process of devloping a facebook canvas application in php and
I'm developing a new Facebook Canvas application within an iFrame and trying to authorize
I'm developing a canvas application for facebook and I want to prevent users from
I'v currently developing a php facebook canvas in an IFrame. The Idea is for
I am currently developing a facebook canvas (iframe) based application. Is there any way
I am developing a facebook application. I am not sure about getting extended permission
I am currently developing a little sketching application based on HTML5 Canvas element. There
I am developing an iPad application which is basically a big drawing canvas with
I'm currently developing a Flex application with an accordion containing 2 canvas: one of

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.