Different auth dialogs depending on user - facebook

I have created a new application and configured an "App on Facebook". The auth dialog looks different depending on the user trying to access the app.
The issue seems to be with different settings for the different users, but what is the cause?
I want every user to be presented with the first dialog.

Stackoverflow's login with Facebook is now showing the second type also. One issue I am seeing with this is that if you trigger a post to feed after getting the second dialog, the permissions are always set to "Me Only", no matter what is set in your app settings.
Facebook has a habit of testing out new changes across random users, so it may be that this is the explanation for some users seeing one dialog or the other.
In fact, half the people tested at my office received one dialog, and half the other.
This may be related: http://allfacebook.com/separate-screens-mobile-app-permission-requests_b115132

Related

Facebook page tab prompting for login, but it shouldn't

When a user is not logged in and they navigate to a page tab made with our app, they get an obtrusive dialog asking them to log in:
This has nothing to do with http vs https, the app is not in sandbox mode, there is nothing in the tab asking for a login or user information, etc. I've gone through the app settings at least a half dozen times now, and nothing is wrong there. Aside of urls, the settings are identical to another app I have that does not suffer from this problem. I'm stumped!
Edit: here is an affected tab: https://www.facebook.com/StaticHtmlThunderpenny/app_203351739677351
This message is not about login to your app, but Facebook in general.
So my guess would be that the page your app is installed as page tab app on is restricted in some way – by age, location, or for having alcohol-related content. And then of course Facebook asks for login, because otherwise they can not determine whether or not the (as of now still “anonymous”) user qualifies to see the page.
So go check the page settings.
This is actually not app related question.
This is thumb rule!! To access any app on Facebook, you need to log in to Facebook. You can see Facebook page without log in. But for facebook apps, you should be authentic user.
with this issue in my own experience that I came across some years back with a facebook app that I was running, if this doesn't relate to any of your other social networking apps then am aligning two set of possibilities and solution.
The user might have not properly logged out as "written" in the app for the users logout stage.
Solution would be that the user logout as expected before closing the app.
The user might have set up an automatic login prompt which was removed by the app when it was been updated automatically. (If you do get me???)
Solution would be to monitise your app on updates and login informations or better still just login and logout ask intended by the app and for security reasons.
Lastly I would say that automatic bookmark database should be added to the server part so current pages as the user uses the app would be saved after logout or login stage. Thank you, hope this helps and if not let me know what am missing.

Adding tester and admins to FB app

I'm sure this is something blindingly obvious, but I can't work it out.
I've added an admin and a tester user to my app (and I mean they're real people as opposed to the generated random named user that FB offers) but after a couple of weeks they're still listed as '(pending)' and they're unable to login to the web page that I've written using their Facebook account. OAuth responds with an error:
Sorry, this feature isn't available right now: An error occurred while processing this request. Please try again later.
I appear to be able to login just fine and can test the [currently] limited functions.
Our web page is right at the beginning of development but it's now at the stage where I'd like real people to mess around on the page and give me feedback.
The two users haven't received any messages - I sort of expected they'd get something in their inbox asking to confirm their role with the app.
So how do I go about getting real people to be test users? Have I missed the point of the test user role?
As of this writing (things change), have the Facebook user go to https://developers.facebook.com/requests/
They will need to be logged in to Facebook.
There should be listed one or more pending requests that they will need to confirm. If the Confirm button(s) is disabled, they may need to register as a Facebook Developer before the Confirm buttons are enabled.

Facebook page form

I am trying to create a form that will pop up over the top of a facebook page (not profile) when a user clicks onto that page, if the owner of the page has a specific app installed.
The popup would require the user to dismiss the popup/complete the form before they could interact with the page.
Apparently this used to be possible, does anyone know how to go about doing this now?
I suspect what I am after is a custom dialog that can be triggered on page load. Is such a thing possible in facebook?
This will not be possible. Facebook Pages no longer have what were called "Default Landing tabs" which would direct non-fan users to a particular tab app. Even then, this kind of popup behaviour would probably have been undesirable for users, possibly prohibited by Platform policy and likely blocked by most users browsers.
You can still create a Page tab app that can be gated behind any kind of restriction that you wish, however the regular Page content will still be visible to any user.

Can't add any roles to Facebook app

I need to add another admin to my FB app (however, I also tried this with developer and test roles).
I paste their name, and press Send. Facebook closes window and proceeds to quickly "flash" a colored box that pushes my own admin box down (as if a box for another role was created), but it's immediately removed (hence the flash). No error message is displayed, but the role wasn't added either.
Coincidentally: Not the first weird problem I had with FB, FB refused to allow me to display app lists/add app with my company's account, and only allowed it on my personal account. They don't answer support requests either. Bleh.
First make sure the other person has verified their account.
I worked around this by entering their numeric facebook ID into the developer app. Apparently it's unable to work with email or custom name.
Go to http://graph.facebook.com/their_facebook_name and copy the number after "id":. Put that in the box. Presto.
I don't think this is a chance occurrence because the problem also appeared when I created a new app using the coworker's account and tried to add myself as the second admin.
Shame on you, Facebook.

Is it possible to enforce initial configuration of a page app?

I'm attempting to develop my first Facebook app that is designed to allow clients of our website to sell tickets to their events from their Facebook page as well as from our website. So when the administrator of a Facebook page adds our app as a page tab, I need to be able to find out who they are so I can load the relevant event data. There also needs to be additional include/exclude configurations and various other options, which will affect the behaviour of the app.
So my question is how is this situation best handled? When playing around with a basic sandboxed app, I seem to be able to just add the app directly to a page; there is no prompt for configuration, and I can't see any way of defining custom properties.
Is the 'edit_url' property the only way to achieve this? If so, is there a way of automatically directing the page admin to this link upon initial use?
Decoding the signed request recieved in your page will give you more insight.
From this you can retrieve page admins' UID's.
You'll need to manage the rest on your side...
In order to get the user id the user will have to grant your application basic permissions.
I'm currently doing a somewhat similar app and, just like Lix said, I used the signed_request variable to detect the page where the tab is installed. Then, based on the page's ID, I retrieve the proper content.
To also give your users an admin page, add a Page Tab Edit URL in your app configuration where you can redirect your users to a custom panel where they can edit their app.