Facebook App Authorization popup not closing - facebook

I have a web site that's set up as a facebook application.
When new users access the web site and click the login button, the "Authorize this application" popup appears and after authorizing the application instead of closing, the popup reloads the whole site insite itself.
Has anyone experienced this kind of problems before?

Edit your app's settings:
Go to the Web Site tab and set the Site URL to something like http://www.yourdomain.com/yourapp/ and the Site Domain to something like yourdomain.com
I had the exact same problem until 1 minute ago. This solved it. Hope this helps.

Seems like you are using incorrect api key (or api key that is not linked to this url).
Go to http://www.facebook.com/developers/ and check if all urls are pointing to the right locations, "Site Domain" is set. Check that you are using correct api key (or id) and secret key in your SDK.

Related

Federated authentication in Windows Azure using Facebook as IP

All answers to my question lead to a year old document (http://msdn.microsoft.com/en-us/library/windowsazure/gg185919.aspx) which is not correct anymore - the section "To obtain a Facebook Application ID and Facebook Application Secret" describes the process than cannot be used on today's Facebook site for developers.
I am hoping that someone who has Facebook experience can get me the "current version" of this 7 steps long process described as:
Create a Facebook account at http://facebook.com
Navigate to http://www.facebook.com/developers/ (my note: this is wrong - the url should be developers.facebook.com)
On the Facebook | Developers page, click the + Set Up New Application button, and then follow the instructions. (What instructions)
On the Facebook | Edit <> page, click the Web Site link on the left. (No such link)
Copy Application ID and Application Secret. You will use these when you configure Facebook as an identity provider on the ACS Management Portal in the next step
Specify your fully qualified domain name (FQDN) URL to your namespace, including the leading HTTPS. Your namespace will be different.
Click the Save Changes button
The step 6 is the biggest problem - it is the insertion of Azure ACS specific information into Facebook's world and was not able to find the field on Facebook App form creation where this belongs to. Obviously, I do not know anything about Facebook's app creation.
Apologies #nikivancic for not being able to try it out for myself, but I think what you're looking for is in the application settings.
In Facebook
Click the edit button on the top right for the application you have
just created
In the left hand menu, under settings, click on Basic
(you might already be there)
Under 'Select how your app integrates with Facebook', click the 'Website with Facebook Login' option
This will reveal a textbox to enter the url to redirect to on login - I believe this is where you need to enter the URL to your namespace in ACS.
Again - apologies for not being able to test it right now, but try following this and see if that works

Facebook search for app redirect

I recently build an iframe app for within Facebook, and for facebook only. So no need to call the iframe outside of Facebook. The only problem i have now, is that as soon as i search for the app like this:
http://i44.tinypic.com/30rla83.png
I get the following warning: http://i43.tinypic.com/2uh1w20.png
I can't seem to find out how to configure the app so it won't redirect, but goes directly to the app itself. The only values set are the 'Website' and 'Page Tab' value. When i set a value for the 'App on Facebook', the iframe gets included in the game/app format (with Facebook games in the right bar) by Facebook, and not the Facebook page app content format.
And when i delete or adjust the 'Website' value and i use Facebook search, i get the error that the app is not configured correctly. It's now set to the full addresss outside of Facebook, because when i configure it to the Facebook App URL i get the same error.
The only value i'm sure of is the 'Page Tab' value.
Thanks in advance guys, i can't seem to find the answer myself..
UPDATE: it turns out the 'you are being redirected'-page only occurs with my Facebook profile! Probably because I'm the Facebook Page admin or the app creator? Anyway, as far as I'm concerned; case closed and problem solved :)
It's slightly confusing which options apply to what types of app on Facebook - and the behaviour of the search is slightly unintuitive but here are some pointers that might help you:
If your app is going to only exist as a page tab, it doesn't really make sense to search for it (it could theoretically exist on multiple facebook pages). These won't show up in search results unless you have also set one of the following two options as well
If you have set up your app as a canvas app, "app on facebook" in the developer settings then when you search for the App, it will redirect you to the canvas page (your iframe being pulled into a Facebook canvas.
if you have set your app up to work with Facebook Connect "Log in to my website using Facebook." in the developer settings, and you haven't also set up your app to operate as a canvas app, then Facebook will assume that you have a web app that is external to Facebook, and searches will redirect the user to your website url.
So, what you probably need to do is either remove your website url from your facebook settings if you aren't using Facebook Connect (in which case your app won't show up in Search results) or create a canvas page as well, which redirects you to the correct facebook page tab.

How do you configure a Facebook app to send the user directly to the website?

Notice how clicking on the Instagram App entry of a facebook search sends the user directly to instagram's website. How is this accomplished?
There appears to be a somewhat related question (with an accepted answer) here: Facebook App: Make the landing page redirect to a URL? However, it isn't clear this is the correct way to do it, as it doesn't provide the same user experience.
Invoking such an implementation will first send the user to what would be a facebook app page with an iframe. Then that iframe (with the suggested redirect code) invokes the redirect. This is quick, but still obvious to the user, and clearly different. Not to mention, it may also go against Facebook's terms (not sure though).
Bottom line is, how does one configure a facebook app link to behave as the Instagram app link?
(Note, I would have simply added this comment to the referenced question, but it seems I don't have the required rep points yet).
in the https://developers.facebook.com/apps - go to "edit app", and in the Settings -> Basic, choose only "Website with Facebook Login" (and you'll see a green V).
Now go to "App Center" in the left bar - fill all the necessary forms and hit submit.
and then go to: https://www.facebook.com/appcenter/YOUR_APP_NAME
I might be wrong but here is my two cents;
Go to the App Developer page on Facebook (https://developers.facebook.com/apps/)
Create a new application and on Settings -> Basic enter your website URL under Website (after you clicked on it)
Then goto Settings -> Advanced and at the bottom of the page there is an button which says Create Facebook Page click on it and once someone clicks on your Facebook page they should be redirected to your website.

Why is my Facebook app in a Page Tab not appearing to non-admin users?

I have a Facebook app running in a Page Tab (the tab of a Facebook Page for an organization). The Page Tab URL (and Secure Page Tab URL) points to a URL on my own server which holds a PHP page that contains an iframe of a Google Calendar.
The app works perfectly fine when I open the Page using the admin account (both http and https). But when I open the Page using the user account of someone who has 'Liked' the Page, the app does not appear at all (both http and https). Any suggestions? Thank you.
Check if the app is in sandbox mode, in the Advanced section of the Settings here:
https://developers.facebook.com/apps
I believe that is the problem.
You may overlooked the "sandbox" setting that should be "disabled", this could be one explanation as per the answer above. If this have not answered to your question, than you may find another explanation here:
http://developers.facebook.com/docs/appcenter/guidelines/
Basically, if your application doesn't do anything it will probably not be approved and it will not be visible to nobody, except you - the developer. There are other issues, like copyrighted infringement and so on... please read.
(Also, just in case you are interested, it should be installed by more than 30 times, I guess different persons, in order to be "searchable").

How do I get a Facebook app I've created to show up on a Facebook "Page"?

I have successfully created a Facebook application. I have successfully added the application to my Facebook "Page". After I do this, no link for the app shows up in the menu on the left. This seems like something that should be simple to do, yet I can't find any documentation that is up-to-date. Any help is greatly appreciated.
Configure the Page Tab settings in your application settings under Facebook Integration.
Go to the developer page where you get the list of your apps.
Click on the more link next to your app, and choose Application profile.
Once you are on the app profile, on the sidebar menu click on Add to my page and choose the page where you want to add the tab.
Note that you must have your app tab configured properly inside your app configuration in order to get this to work i.e. setting the correct domain and tab file.
If you are logged in as the page, I suggest you either creating a profile ID and log in as it, or the solution that #ifaour pointed out, although it will be difficult to find your app inside the search engine that FB provides.