Facebook “No Internet Connection” for mobile app - iphone

I used mobile version Authentication to get access token for Facebook.
I use like this.
The problem occurs in iPhone. Other mobile devices as far as OK.
https://graph.facebook.com/oauth/authorize?type=user_agent&display=wap&client_id=12345&redirect_uri=www.blahblah.com/blah&scope=user_photos,read_stream,publish_stream,offline_access,user_status,friends_status
but it hits "No Internet Connection" . Actually, the account was log into Facebook.
Any particular things that I miss in Authentication?

Please try passing display=touch instead of display=wap.
This seemed to resolve the issue for me.

Related

Login Failed you cant use facebook to log into this app or website because there's an issue with its implementation of facebook login (NuxtJs App)

I tried to implement firebase authentication for my NuxtJs app for facebook social media login, but even after I made sure that all settings are correct (including hash and firebase settings), Facebook always threw this vague error.
Login Failed you cant use facebook to log into this app or website because there's an issue with its implementation of facebook login
I have another NuxtJs app that also uses firebase authentication for Facebook login and it works perfectly. I've made sure all the settings are the same with my currently problematic NuxtJs app. What could be the reason for Facebook throwing this error?
Wait never mind it works now. Apparently it's all because my NuxtJs app was being restricted by Facebook for violating their policies. After appealing the restriction, it's now working perfectly well.
The error message was so vague that I didn't think it was because my app was restricted by Facebook. But it seems like that was really the answer. I think Facebook should make the error message a bit clearer that it was caused by the app being restricted.
Anyway, thanks for the help folks.

Facebook login worked on localhost but not on hosting

We have a website that uses Facebook for login, when we run it locally used to work fine. We had a Facebook application with App Domains and Site URL pointing localhost and worked just fine.
However, when we moved into production, we uploaded the site to our hosting and changed the setting in the FB app to match this change.
Now we put "xxxx.com" in App Domains and "https://www.xxxx.com/" in Site URL (it works in both HTTP and HTTPS).
However, when trying to log in I get a 401 error.
I tried every different combination in the FB app that I could think of but still it's not working.
It can't be the code because used to work fine running it in localhost with the app set-up pointing to localhost but I can't make it work on our hosting...
Any ideas?
HTTP Error 401 - Unauthorized
The error code says it all.
See if setting App Domains to blank will help.
If your using an iPhone app go to settings and go to wifi. Click on your wifi. Now go down to renew lease. Click on that. This will solve the problem. I had the same thing happen to me and nobody had an answer. It took me an hour of messing with my phone to find this solution. Hope this was helpful for you.

Facebook Login Error iOS Application

My iOS application allows me to login using my own facebook account successfully. But when I send it on test flight to a friend, the app downloads but when he presses connect to Facebook (which works on my simulator and personal device), it won't let him log in. Doesn't even give him the option to, just spits out an error (com.facebook.sdk error 2). What am I missing? What would cause it to work for me, but not for others? I'm just looking for a general answer here because I followed all the facebook tutorials and I can't imagine what kind of thing could be going wrong.
I just figured out the problem. Should have been SUPER obvious, but being new to development I didn't realize I needed to change the sandbox setting to disabled in order to allow others to access facebook through my app.
This error pops up when your app is not authenticated properly.
You need to keep your BundleId the same at all places.
Change your bundleId in the app that you have registered on Facebook as com.asdad.casd instead of < teamId >.com.asdad.casd

facebook app is misconfigured for mobile access

Got this error when trying to use a my Facebook app on an iPad with Safari.
"mobile version of app is unavailble because it is misconfigured for mobile access"
The app works fine when used in a Safari browser on a desktop. Anyone a suggestion for a solution?
Only see this option in the settings of the app "Mobile Web URL" which has the same value as my "site URL".
I found if using authorization, I had to use m.facebook.com/authurl rather than www.facebook.com
If you're using SSL and visit https://apps.facebook.com or https://m.facebook.com on a mobile device, and your mobile URL is http:// (not https://) then you receive this error. I imagine the same happens through the Facebook iPhone app if secure browsing is enabled.
Adding the trailing slash at the end of my URL also seemed to help, but it may have been the above SSL issue confusing me.

Facebook Application Redirect Loop after authentication

I've encountered this problem while using the facebook c# sdk v4.2.1:
After allowing the app, a user using a IE browser without flash being installed will go on a infinite redirect authentication loop.
At first i thought it was a cookie problem , until i tested on another computer and realised that both of the computers had no flash installed.
Has anyone encountered this problem before? I know for sure i've encountered alot of problems that using the official facebook javascript sdk to authenticate users on IE without flash.
I would appreciate if anyone found a solution to this problem can answer this question.
Would you please edit you Facebook settings on Facebook i had the same problem before and i edit the settings on the advanced tap and it works :)
https://www.facebook.com/developers/apps.php?app_id=app_id
hope that works .
I just had this problem when reviving an older facebook app. I fixed it by enabling "signed_request for Canvas" in the Advanced settings tab on for the app on facebook.
Flash shouldn't be the problem. Did you install the Facebook handler in your web.config?
Also it sounds like you aren't being properly authenticated. You might want to sniff with something like Fiddler and see what is happening.