We help IT Professionals succeed at work.
Get Started

Display facebook dialog request as modal popup?

MyersA asked
Last Modified: 2012-05-12
I recently created an HTML page that will display the dialog request used to invite friends to a fanpage. The code for the page is included.

How can I display that webform as a modal popup within my fanpage? Currently, it displays as a popup.

This is what I did: I created the HTML page in my server and I created the app in facebook. Within Facebook app, in "App on Facebook", I set canvas URL to www.myDomain.com/Facebook/ . When I go to that URL, it will display the requests dialog as a popup.

Then I tried it under "PAge TAb" and I set the page tab URL to www.myDomain.com/Facebook/. Then I add the tab to my fanpage, When I click on the tab, I get the error "405 - HTTP verb used to access this page is not allowed."/

What can the problem be? I just want the requests dialog to be displayed as modal popup.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <title>My Great Website</title>
      <div id="fb-root"></div>
      <script src="http://connect.facebook.net/en_US/all.js">
         appId: '999999999999', cookie: true, 
            status:true, xfbml:true 

         FB.ui({ method: 'apprequests', 
            message: 'Here is a new Requests dialog...'});

Open in new window

Watch Question
This problem has been solved!
Unlock 1 Answer and 5 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE