Facebook mobile web app: "Page not found" - facebook

I have a facebook app that works without problems. To target mobile users as well, I've made a mobile version, correctly configured, that works too when accessing it seperately. However, if I click a link to the app using a mobile phone (or emulating), the redirection to the mobile site does not work: "Page not found".
Any ideas? I don't even know where an error could be since the apps both work on itself (and they both feature more or less the same code, execpt for some css).
Update: I am guessing now the problem might be this: http://developers.facebook.com/bugs/450023335030232
Could this actually lead to redirecting problems?

It does not really solve the technical problem, but using smarturl.it I managed to evade the error.

Related

Facebook Sharer on mobiles not working

I have a website http://coolfuzz.com
when I share any article through desktop, laptop it is working fine. But when I am trying to share it through mobile, I am getting an error.
The page you requested cannot be displayed right now. It may be
temporarily unavailable, the link you have clicked on may be broken or
expired, or you may not have permissions to view this page.
My traffic is 90% mobile driven so I am losing a lot of visitors. I have tried installing different plugins but no benefit. I have gone through the code for one full day but no reason why it is giving me this error?
Please tell me how to solve this issue?
The page, if anyone want to try for the use case could be http://coolfuzz.com/what-if-ms-dhoni-would-be-an-it-project-manager/
Thanks in Advance.
I encountered the same problem in which sharer works on desktop version but throws "temporarily unavailable" on mobile (m.facebook.com).
Then, I made the Facebook App live, and the problem is solved.
Go to your app at developers.facebook.com > Status & Review.
Do you want to make this app and all its live features available to the general public? Yes.

FB.login() inside inapp browser (no popups)

I have my Facebook login process working on desktop and mobile, except for Facebook's inapp mobile browser (ios and now android). The issue is that if you call FB.login(), nothing at all happens. I assume this is because the inapp browser doesn't deal with popups.
I understand that a redirect auth flow circumvents the need for a login/permissions popup, however I have built a web-app, which means it is a pain to deal with storing the users current state at the point of signing in.
Does anyone have any good solutions for this?
Also I have tested many other sites login buttons through the inapp browser, and all of the ones I have tried so far don't work. Facebook has done a great job of breaking a large amount of sign up processes.
As stated in the comments, that seems to be a bug either in the Android FB- App or in the Android 5 WebView component. There is a bug report at facebook, but they are still working on it. The only solution i could find for now is to turn off the internal browser: http://www.androidpit.com/facebook-disable-browser
Because that action has to be taken by the user itself, it's no satisfying solution. Therefore i guess the only thing we can do at the moment is to stay tuned for facebooks fix.
Update
Facebook confirmed this is a bug. They are working on it. Stay tuned...
2nd Update
Facebook rolled out a patch. Works for me now.

What's the correct way to authorize PhoneGap application to the Facebook?

I spent a while already to fix annoying issue with Facebook in PhoneGap app. And still a lot of things goes wrong with that. The thing is that I use Appery.io and Facebook plugin.
This is how my Facebook console looks now:
I suggest that localhost might be a reason of the issue. However, I got it into Facebook_Helper.js:
Everytime I try to sign in with FB account, I get the same error at the child window:
So what I've got is that app is authorized at this moment indeed, because there's a menu button at the navbar that allows me to navigate through FB profile:
The first issue lies in that the child window never gets closed automatically once user submitted Sign In form. And the second one is that I can't get the access token to the app directly. I know I'm doing something wrong, but I spend more than a week on that and nothing was clarified.
Honestly, I've no idea why it's not working. I saw a lot of apps written in PhoneGap that use the same authorization too, and they work as it should. Will be appreciate if you take a look into that and, maybe, advice something.
First, I don't see iOS or Android in your developer.facebook screenshot.
Second, you should implement native facebook integration if you are developing an app, if I understand correctly from your code, you are trying to handle only web browser version of authentication. Native integration is both the suggested way by facebook and platforms and better experience for end users. If users have facebook app installed, authenticating over fb app is more secure after all..
You can use a cordova plugin for facebook integration, here is one of the plugins (I am one of the authors): cordova-facebook plugin

Facebook Mobile page tab error: This page is for an app that doesn't work on mobile devices (tried ref=ts)

Previously I was able to get to my app on my Page Tab on mobile devices by appending ?ref=ts to the end of the app url on the page tab. Suddenly this has stopped working and i am now getting the following error message when trying on the iphone/android facebook apps:
"This page is for an app that doesn't work on mobile devices. Please try visiting it the next time you use Facebook on your computer"
Has anyone come across this issue and does anyone know what I can do to solve this problem please.
I've used this in the past as well and just realized it was no longer working. I found a little work around but who knows how long it'll work.... I created a bitly link and redirect through there. Worked for me.

Cannot set a cookie before redirection

We have a weird problem in that I have developed a mobile version of our website that just sits in a sub folder of the site e.g /mobile/page.asp (I know .asp classic don't blame me!)
I did want to create two domains one for the mobile site one for the normal site but I was told by our CTO to just do a sub folder.
However the problem is we want to be able to set a cookie that lets us know whether the user WANTS to be on the main site OR mobile site. They could in theory be on a desktop and still choose to go the mobile version (as we have links in the footer to switch views, e.g from the main site to the mobile site and vice versa).
However if someone comes to the site without a cookie set we do some user-agent sniffing do determine their device and then set a cookie before redirecting them to the right part of the site.
All our logic seemed correct however when we started testing it we started getting weird results.
On my iPhone 3gs it was working perfectly (most up to date OS) however on other peoples iPhones or Android phones people would
-clear cookies (at the beginning of the test)
-visit the site
-the agent sniff would redirect them to the mobile site
-but when they clicked on a further link on the mobile site the code took them back to the full site.
This didn't happen for me - also on our demo site it worked for some people and not for others - and also for someone on an Android device who downloaded FireFox it worked fine.
I and another developer who had the problem sat together and went through the steps one by one, doing the exact same thing, with debug on showing us what was going on.
However whilst I was getting a cookie set to "mobile" when I went to the mobile site he for some reason wasn't. It was like the cookie couldn't be set before a redirect even though the redirect was to the same domain.
I read some articles which said there was some issue in webkit with cookies and redirects which made me think this could be the issue on the iPhone Safari browser but that wouldn't explain why my 3Gs phone worked.
We have tried re-working the code but we need to be able to set cookies and do redirects in all cases. We even tried just changing the code that was setting a cookie to a session variable but even that didn't work.
I am really stuck and so is everyone else. We have spend days trying to debug it but cannot find a common denominator which would explain why it works on some devices but not others.
Can anyone help!!! Any advice would be much appreciated.
Thanks!