Browser blocking popup Facebook permissions - facebook

I have been creating Facebook apps for sometime now. I use the javascript SDK to trigger a popup to ask for the user's permissions. The popup is activated when the user clicks a button, so not on page load or by an event other than a click. Now recently browsers have been blocking the permissions popup where this NEVER used to be a problem in the past. Any ideas?
Thanks
Tyrone

For Facebook applications, there are several different options for display modes. popup is simply one of them.
You may be interested in using any of the following: page, popup, touch (mobile devices), and iframe. page may be the most convenient for you as iframe is disallowed for certain dialog functionality.
Reference: http://developers.facebook.com/docs/reference/dialogs/
Enjoy and good luck!

Related

Facebook App Linking from pages not working anymore

It's been about 2 months now. We manage several facebook pages and all these pages were linking to native iOS / Android apps from the CTA button where users were either opening their apps via "Use App" link or were redirected to download them in case they didn't have it installed.
What happens now is that the dialog to connect your app via the "add button" function in Facebook pages, it only shows a textfield to redirect the users to a website (image attached). There is no way to link to a registered app (of course there is a related app registered with all the relevant platforms enabled and the admin has access to it). Facebook, as always is completely silent and not responding to any support requests, clients that had their apps linked to pages now ask us what happened and we are out in the cold without being able to understand wtf is happening.
This happens to 90% of our pages, some of them still have a "Use App" button that works just fine, but all others have the above problem. Also, new pages, suffer from the same problem as well. Changing the page theme doesn't seem to do anything. One (strange) finding is that if you download the pages management app in a mobile device, there is also a checkbox which allows to enter a deep link url besides the standard url but just that. The list with the apps that we had access to link to pages has just vanished.
Any ideas? Anyone having the same issue?

Is it possible to create multiple facebook SDK instances on a single page without conflict?

I'm working on an application that can be embedded in other pages using an iFrame that requires facebook permissions. The problem is we're running into issues when trying to use the facebook SDK to login from inside an iFrame on iOS (the login window never appears). We're running code on the parent page that places the iFrame, so my question is, can I place our SDK on the parent page without conflicting with any existing Facebook SDKs on that page?
can I place our SDK on the parent page without conflicting with any existing Facebook SDKs on that page?
No, you can’t. The JS SDK can only be embedded and initialized once.
The problem is we're running into issues when trying to use the facebook SDK to login from inside an iFrame on iOS (the login window never appears)
The whole JS SDK popup login flow is not the most suitable for mobile in many cases.
You might have better luck implementing the manual login flow, https://developers.facebook.com/docs/facebook-login/manually-build-a-login-flow
If you open that in a new window, you’d have to find a way to close it again, and have the iframe notified that successful login has happend. (Perhaps postMessage before closing the login window.)
Another possible option would be to redirect in the top window (instead of opening a new window/popup), and then after login back to the 3rd-party site, that loads your iframe again. (But not all people using your plugin on their page might like that.)

Don't open intercom messenger on load

I am integrating Intercom into my website, but when a user loads the page, the chat window automatically opens up. I have gone through their documentation, adding things like Intercom('hide'), turning off and removing auto messaging, etc, but the messenger still opens up. I have reached out to their customer support (on their own chat app) and no one has responded back or reached out. Kind of bad UX to have it open without anyone clicking the chat button. Anyone know how to disable this feature?
The answer is in one of their guides Customize the Intercom Messenger (technical) rather than the technical documentation:
First, you’ll need to hide the Messenger for all of your customers. Just visit your Messenger settings and deselect the options for turning the Messenger on.
Next, you’ll need to think about which users you’d like to show the Messenger to (for example, your VIP customers).
Finally, add the hide_default_launcher attribute to your intercomSettings object on your site. The value of thehide_default_launcher attribute should be true or false, depending on if you want to hide or show the launcher.
So hide_default_launcher is the key.
You can go to App Settings > Messenger Settings section and blank Welcome Message:
click to open an image

Is it possible to remove the Facebook sidebar from apps I publish?

I am interested in developing an app for Facebook, however, I am quite bothered by the sidebar on the right side of the screen. Is there a way to disable it so that users of my app won't see it? I have attached a pic to explain exactly which sidebar I am referring to:
Click here
If you're hosting your app on facebook.com (apps.facebook.com/something) then you don't get to control the entire browser window, just the iframe which contains your app.
If you need full control of the browser, host your app off-facebook.

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.