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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T18:08:33+00:00 2026-06-10T18:08:33+00:00

I am working on getting the Facebook Authentication within a Canvas Page working, as

  • 0

I am working on getting the Facebook “Authentication within a Canvas Page” working, as described here for PHP. I finally got the base64_decode stuff working but I do fail on redirecting the user to the URL described in Section 2a. I tried response.redirect(url) as well as response.setHeader(‘Location’, url) and other options I found on SO, but none of these worked :/

If I visit the URL directly through the browser, everything seems to work as expected. If I redirect to an URL on the same domain, it works too. Maybe I am missing something basic? Are redirects to external domains possible? What is the correct way to get this done?

Thank you in advance!

UPDATE: I just figured out that redirecting to pages like http://heise.de or http://orf.at works, but not for http://www.google.com or http://www.facebook.com. I have no clue what is going on here :/

  • 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-10T18:08:34+00:00Added an answer on June 10, 2026 at 6:08 pm

    I just figured out that redirecting to pages like http://heise.de or http://orf.at works, but not for http://www.google.com or http://www.facebook.com. I have no clue what is going on here :/

    The latter ones are sending an X-Frame-Options HTTP response header, which tells the client whether the page wants to be displayed in (i)frames or not.

    Google sends the value SAMEORIGIN, which means only pages from the domain google.com are allowed to display other pages from google.com in (i)frames, and Facebook sends DENY, meaning the page is never allowed to be displayed in any kind of frame, no matter where.

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

Sidebar

Related Questions

According to Facebook - Authentication within a Canvas Page Document , they say that
I'm trying to integrate facebook login on a site I'm working on, but so
I'm working on including a list of events posted to a Facebook Page on
I've been working on facebook application. But I've faced with strange bug(?). It I'm
I am working on a application development which is getting real updates from facebook,
I am working on a facebook game in PHP, and one of the things
I coded a facebook app in PHP with php-facebook sdk, that is working absolutely
I am expecting to implement a work flow like this. Browse facebook Canvas Page
I have Phonegap's Facebook plugin working perfectly within my Android app. This plugin uses
I'm having trouble getting Facebook Connect working. I (attempt) to follow the instructions located

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.