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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T07:46:51+00:00 2026-06-02T07:46:51+00:00

I know there is a way to redirect the page using javascript in the

  • 0

I know there is a way to redirect the page using javascript in the iframe of the canvas application to an external url.But is there any other way so that user directly gets redirected to the external url as soon as they authorizes the application.

i know it is possible because a famous app klout in Facebook does it.

http://apps.facebook.com/klout__/

redirects to

http://klout.com/ automatically as soon as the user

Remember i got an invitation request from my Facebook friend.when i clicked the invitation notification and when i authorized the application it redirected to a external url.Any idea how this has been done? And i think this wont be encouraged in Facebook policies either?

  • 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-02T07:46:52+00:00Added an answer on June 2, 2026 at 7:46 am

    Facebook want to make sure that the servers it interacts with are of the same domain that is set up in the app settings.

    In the klout example you gave what they did was to add an App Domain which is done in the app settings, but there’s a limitation to what domains you can add there.
    For example if your site url in the settings is set to “www.example.com” then you can add “examlpe.com” or “sub.example.com” to the app domains.
    But if you try to add “www.example2.com” you’ll get:

    Error

    example2.com must be derived from your Site URL or your Mobile Web
    URL.


    Edit

    I’m sorry, I did not understand you correctly.

    If you want to simply redirect the user to your url in the main window then you can use javascript like this:

    top.location.href = "http://www.example.com";
    

    What I was referring to before is the ability to have “www.example.com/” as the site url (in the settings) and still use “sub.example.com” with redirect_uri and such.


    2nd Edit

    Forgot to mention this:
    In the Facebook Platform Policies it states that:

    13 . The primary purpose of your Canvas or Page Tab app on Facebook must not be to simply redirect users out of the Facebook experience
    and onto an external site

    And so you should not redirect the users out of facebook.

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

Sidebar

Related Questions

As far as I know there is no way to do this, but I
I wish to know is there any way that I can create the threads
I want to know is there any way that I can remove duplicates from
I want to know is there any way or message in MFC by which
I'm new to PowerBuilder 12, and would like to know is there any way
I know there are some advantages in using page forwarding as it is the
I know there is a way to call Perl routines from C. As shown
I know there's a way, I know I've done it (a long time) before,
Does anyone know is there a way to implement Windows Live ID authentication into
I wanted to know if there is way to log the mysql queries in

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.