Disable Facebook mobile browser detection?

user330468 picture user330468 · Sep 15, 2011 · Viewed 39.7k times · Source

Does anyone know of a way to disable the mobile browser detection and redirect feature of Facebook via querystring parameters?

For example, if I go to www.facebook.com/CraigslistGenie in a mobile browser, I get redirected to http://m.facebook.com/CraigslistGenie. I would like the user to stay on the www version of the page.

Answer

Yahia picture Yahia · Apr 4, 2012

you either change the user-agent to achieve that or you add ?m2w to the link i.e. http://www.facebook.com/CraigslistGenie/?m2w does NOT redirect (tested on Android) while http://www.facebook.com/CraigslistGenie does redirect to http://m.facebook.com/CraigslistGenie

For reference see here and here.