Error Message When Trying To Load Facebook Register iframe

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
drayarms
Forum Contributor
Posts: 134
Joined: Fri Dec 31, 2010 5:11 pm

Error Message When Trying To Load Facebook Register iframe

Post by drayarms »

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

Image


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

Code: Select all

<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

Code: Select all

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

User avatar
Jade
Forum Regular
Posts: 908
Joined: Sun Dec 29, 2002 5:40 pm
Location: VA

Re: Error Message When Trying To Load Facebook Register ifra

Post by Jade »

Post Reply