drayarms Posted January 22, 2013 Share Posted January 22, 2013 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 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> Quote Link to comment https://forums.phpfreaks.com/topic/273508-error-message-when-trying-to-load-facebook-registration-iframe/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.