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

The Archive Base Latest Questions

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

I am using the facebook dialog feed to allow the user to post a

  • 0

I am using the facebook dialog feed to allow the user to post a message to their wall.

You must provide a redirect_url for the page to redirect to after it has submitted,
I want on the page it redirects to to have some code which simply closes the windows.

I tried using

<html><head><title>Close</title></head><body onload="window.close();"></body></html>
and
<html><head><title>Close</title></head><body onload="self.close();"></body></html>

but to no effect.

(note that my testing is simply me opening a new tab with this url, could that be the issue?)

  • 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:15:45+00:00Added an answer on May 25, 2026 at 6:15 pm

    You can only close windows with javascript if they were opened with javascript.

    Otherwise, try looking at this question: How can I close a browser window without receiving the "Do you want to close this window" prompt?

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

Sidebar

Related Questions

I'm using facebook connect to allow the visitors login to a website using their
I am trying to make a post on another user's wall using another user
I am attempting to post a message to a user's wall that contains a
All of Facebook's Dialogs examples show a page to redirect the user to in
I am using following code to post on a user's wall. Bundle params =
Is it possible to post to a facebook page feed without first liking the
When using the Facebook's Feed Dialog, example : https://www.facebook.com/dialog/feed? app_id=123050457758183& link=https://developers.facebook.com/docs/reference/dialogs/& picture=http://fbrell.com/f8.jpg& name=Facebook%20Dialogs& caption=Reference%20Documentation&
im using the following code to share content on facebook- <a href=https://www.facebook.com/dialog/feed?app_id=325675344144789&link=<?=$station_info->link?>& picture=<?=$station_info->img_url?>& name=<?=$station_info->title?>&
I'm tring to authenticate with facebook using the following request: https://www.facebook.com/dialog/oauth?client_id=MYAPPID&redirect_uri=http://localhost:3000/oauth/callback.html&scope=email The response is
I've developed a Facebook application using the Facebook C# SDK. Interestingly, whenever the user

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.