hybridauth facebook display=popup setting not working - facebook-php-sdk

I'm using hybridauth-2.2.2 to implement facebook connect.
Connecting and login with facebook is not a problem.
At the moment my login page goes to the facebook login page and redirects back, but I want to open the facebook login dialog in a popup window, so I changed the setting display=page to display=popup but it still redirects to the facebook login page. I assume that I'm missing something so just wanted to know what. Any help would be greatly appreciated. Please let me know if you require more details.
Thanks,
Devo

guess I was expecting too much of the hybridauth library this time. I thought the display=popup setting would add the js to open the pop up window itself, but I guess it's just to tell facebook api whats been used to connect. So just added the bit of js needed to open a popup window for facebook login

Related

Unwanted login popup when I access my website

So I got a login popup when I try to access my website. I may have done a mistake configuring my WP, but I don't know what could have been wrong here. Additionally, I'm using Divi as visual page builder.
I would like to remove it since everyone gets it when they try to access the website.
I'm using the latest version of WordPress, which is 5.7.2
Does any of you know how to remove this popup ?
Our customer had the same problem and it turned out that the popup was inserted via hosting provider because there was a maintenance on the page before which wasn't switched off. Maybe you could to ask your hoster if there is anything active.

Linkedin URL preview not using javascript

I have this page on my website where Javascript is absolutely necessary and if it is disabled, an error message shows. I have a bunch of opengraph metatags in it and it works perfectly in Facebook, Twitter and so.
But when I share the website on LinkedIn, it makes a preview out of the error message. Does that mean that the LinkedIn URL crawlers have javascript disabled? If so, is there any workaround to make it work?
Thanks.
You can always use https://www.linkedin.com/post-inspector/ to see what your problem with Linkedin is.
Cheers!
After reviewing what you told me, i've disabled JavaScript and it leads me to https://www.conceptocean.com/jsnotif
You should change the redirection for users that dont allow JavaScript or as a patch, add the og:tags to that /jsnotif page, since LinkedinBot wont enter to https://www.conceptocean.com but https://www.conceptocean.com/jsnotif

Link on my website to facebook message a page

I would like to embed a link that will open site visitor's browser with their facebook account in "New Message" writing mode with the "to:" field already pointing to my Facebook page.
Is there a way to do this?
It's a wordpress site, so if there is already a plugin that can do this I'd be happy to know which (without asking the visitor for permissions to a facebook app).
Thanks!
You could try to use the FB.ui send dialog:
https://developers.facebook.com/docs/reference/dialogs/send/
There is a parameter called "to" where you could try to add the ID of your Facebook Page. Although i am not sure if it works for Pages, but it´s worth trying.

Auto login to facebook using php sdk

Am working on facebook application using php sdk to post to facebook page as page.I need to let the user automatically log in to facebook instead of asking user to log in.
Please help
Thanks
This seems to at least partially answer the question (you need first to login from a javascript-based client on the same browser+domain):
Auto login with PHP facebook connect + JS

Facebook authentication needs additional refresh to log in user

I recently updated the Facebook PHP SDK to version 3.x.x after my earlier code stopped working. Now, when the user logs in, the page refreshes but still shows the Facebook login button. If I refresh it one more time then it logs in the user. Any idea what is going on? has anyone else faced a similar problem?
Thanks.
If you are "refreshing" the page, then the problem is not the php sdk, is the javascript you are using. Could you please provide more info about your problem? Are you experiencing the problem in all browsers? are you using http/https correctly? Please be more specific.

Resources