Jump to content

Error Message When Trying To Load Facebook Registration Iframe


drayarms

Recommended Posts

 

I'm not sure if this topic is relevant to this forum but I figured enough of you PHP coders are familiar with integrating Facebook to you sites. I'm new to using Facebook APIs and I'm tying to load the user registration iframe from facebook onto my my site. But I get the following error every time I load the page:

 

Unable to load the registration form for XXXX. You may have previously blocked this app on Facebook. Go to your Facebook privacy settings to unblock this app. (Error: That 'redirect_uri' isn't allowed for that client_id.)

 

I'm not sure what I didn't do correctly. I setup my facebook app Id and here is a screenshot from the setup page

 

fb_app.PNG

 

 

And here is how I configured the iframe: I replaced my app Id with 1111111111 for obvious reasons

 

<iframe name = "fb_signup" src="https://www.facebook.com/plugins/registration?
client_id= 111111111111&
redirect_uri=http%3A%2F%2Fdevelopers.facebook.com%2Ftools%2Fecho%2F&
fields=name,birthday,gender,location,email"
scrolling="auto"
frameborder="no"
style="border:none"
allowTransparency="true"
width="100%"
height="330">
</iframe>



 

 

Also tried the facebook XML but neither got an error message nor the pre-filled dialog from facebook

 

<fb:registration
fields="name,birthday,gender,location,email"
redirect-uri="http://developers.facebook.com/tools/echo/">
</fb:registration>

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.