Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable Facebook mobile browser detection?

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.

like image 477
user330468 Avatar asked Sep 15 '11 00:09

user330468


1 Answers

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.

like image 140
Yahia Avatar answered Oct 13 '22 21:10

Yahia