Facebook browser CORS issue - facebook

Trying to figure out an issue that popped up in Sentry today.
I've never seen the 'Facebook' browser come up before, but here it is, all seem to be ios devices:
I don't really understand how there could be an origin issue here as the url listed has the same root domain. Has anyone run into this before?

This means someone is opening your url within the facebook app. Facebook app has its own browser shell to open the link within the app.
You will be able to replicate this issue if you open it from within the facebook app.

Related

Cross Site Scripting (XSS) between facebook.com and m.facebook.com?

I'm developing facebook app on platforms: facebook canvas and website (to make it work on mobiles). The problem is that when I'm trying to click on my test app from m.facebook.com website in console i see error:
XMLHttpRequest cannot load
https://www.facebook.com/l.php?u=https%3A%2F%2Fm.facebook.com%2Fapps%2F…
No 'Access-Control-Allow-Origin' header is present on the requested
resource. Origin 'https://m.facebook.com/' is therefore not allowed
access.
And on screen inside facebook body: "No internet connection. Try again." When I click on "Try again" link situation repeats. But when I'm refreshing whole page application opens on web platform as it's supposed to.
Error shows before my app is called so I doubt it's my sdk configuration error.
I'll add that when I'm opening my app from android facebook application or from facebook.com website problem don't occur.
It looks like XSS between facebook.com and m.facebook.com websites. Anyone meet similar issue? Any ideas if I can solve it? I wrote report to facebook and waiting for answer from them as I'm not sure if it's my error or issue lies at their side.
Thx in advance for help.

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.

Facebook Application Error: https://www.facebook.com/4oh4.php

I am new in developing my facebook application. I know php, HTML. I have a application in my server: http://www.example.com/app_name
with only one file written in php i,e index.php
I filled all the requisite as instructed by facebook documentation for canvas URL and all. Now when i am trying to access this http://apps.facebook.com/app_name
I get this error: The Page you requested was not found.
https://www.facebook.com/4oh4.php
Can anyone please help me????
There is a currently open bug report in Facebook's bug tracker about this issue: https://developers.facebook.com/bugs/325223977546904
It could take a while for your app to propagate to all FB servers so you may just have to wait a little. Are you logged in as the administrator to the app? If you have it set to private then you will be redirected to the 404 page if you are not an admin or tester.
I had the same issue which seemed to be transitory. About ten minutes later the site started working again. Facebook.... Sigh.

Session Lost on IE Facebook App iFrame

I have an issue with my Facebook app when the user uses Internet Explorer.
My app is loaded in iFrame as Canvas Page.
Cookies and Session are lost after post back. It doesn't happen of Firefox at all,
and it doesn't happen on IE if I open my app outside of Facebook, meaning, using the direct URL.
My app is Asp.net C# app but it shouldn't really matter.
I think the issue is larger than a Facebook issue... any website loaded in iFrame using cookies/session is prevented by IE from keeping cookies/session, but is there a way by Facebook to overcome this? I must use sessions in my app, not just to save the reauthentication again and again but for other things too.
Please assist me.
Thanks!
most likely you need to implement P3P headers in your app, see the following for more details:
http://forum.developers.facebook.net/viewtopic.php?id=452

After soundcloud authentication, safari not opening the app

I have created an iPhone application. I have integrated with SoundCloudAPI.
To authorize it, automatically the application will launch the SoundCloud website in safari. After authentication, it is giving following error message;
"Safari cannot open the page because the address is invalid".
It is not coming back to my current application.
Please guide me to resolve it.
Thanks.
I have resolved it.
Issue is; I did not change the callback url.
Now it is working fine.