Facebook PHP skd getLoginUrl redirection - facebook-php-sdk

Im using Facebook PHP SDK v5.
For login funcitonality im using "getLoginUrl" funciton which return the facebook login url. It works fine on desktop and mobiles , however on mobiles I would prefer to get the link to the Facebook mobile application rather than website URL. Is it possible ?

Use the first parameter of getLoginUrl() to pass a redirect URI that point to your mobile URL.

Related

Flutter web with Firebase hosting doesn't work

I made a Flutter web page that has a login page and some more pages after logging in.
(my login page is just like a simple quiz, not proper authentication requires OAuth 2.0).
When I tested with the simulator(Chrome) in VScode, it worked well.
However, the firebase hosting page doesn't work correctly.
The login page works well, but it doesn't go to another page.
TextFormField with validator in Login page worked well, but it shows just a white screen after login success.
Please help me...

Error when uploading media in wordpress website [update]

I'm using a wordpress blog theme that contains a signup/ login form for users.
When I login to the website using login form in the website and try to upload media from website, it will get an error:
In the other hand when I login to the website using example.com/wp-admin link and try to upload media from website, it works without any error!
Is there any code that I should add to the website to solve this issue?
I should also mention that the media is uploaded correctly from dahsboard without any error.
Can you please tell which plugin do you use for the login or are you using custom login form for login page?
Please turn on Debug mode on and check Debug Log and share it here so we can help you out.

Deep Linking With Firebase - Enable Force Refresh (efr=1) Parameter Not Working With Twitter

The enable force refresh parameter (efr=1) for Firebase isn't working properly with my Firebase Deep-Links. It works perfectly for Facebook, but if I include this parameter in the deep link url and share to twitter it redirects to the app store instead of within the app. Basically...
https://example.app.goo.gl/?link=https://example.com - works and redirects the user from Twitter to the correct page within the app.
https://example.app.goo.gl/?link=https://example.com&efr=1 - redirects users to the app store no matter what.
Anybody else having this issue?

Facebook SDK for .NET - not working

I need a Facebook login button for an ASP.NET 4.5 site (not MVC).
I have followed this tutorial for the Facebook SDK:
http://facebooksdk.net/docs/web/getting-started/
But it skips over several points, doesn't provide any downloads and just doesn't work.
How can I do this - ideally using built in methods that require little work to implement - and allow you to retrieve email from Facebook. If that isn't possible a NuGet package (ideally one that is widely used) would be fine.
The Facebook SDK for .NET looks promising but I can't get it working and can't find other examples of its use online.
UPDATE
I need the user to press login, be authenticated, then give me their email (from fb?), enter a password.
I need to know all this and manipulate it all from C# code behind.
If they are already logged into FB - and already signed up for my site - I need them to be auto logged in (I will be using custom authentication on the asp.net side).
If you need the Facebook login or singup button then you do not need Facebook .Net SDK. You need to use Facebook Javascript SDK. Then you can use the <fb:login-button> XFBML tag.
If the user is already logged in to Facebook, the plugin can show the user's profile picture, if configured to.
Please refer here: https://developers.facebook.com/docs/reference/plugins/login/
Eventually I followed this tutorial:
http://www.aspsnippets.com/Articles/Login-with-FaceBook-account-in-ASPNet-Website.aspx
This was excellent and does exactly what I need.

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

Resources