Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Opening a facebook URL on iOS with openURL leads to broken page on Facebook app

Tags:

ios

facebook

When I open a facebook url using 'openURL', in the form of "http://www.facebook.com/SomePage", it gets opened by the Facebook app, and it leads to a broken page (most of the screen is blank), or to the user's "timeline" (depending on the device and version of the app). Is there any way to force the URL to go to Safari? I don't mind that the facebook app takes over the URL, but if it doesn't know how to handle it, I'd rather have Safari do it.

like image 684
user1776002 Avatar asked Oct 26 '12 02:10

user1776002


1 Answers

As pj4533 suggested, removing the 'www.' from the front of the url fixes the issue. Adding this as an answer so it can be marked as answer and more obvious for others.

like image 54
SmartyP Avatar answered Nov 15 '22 06:11

SmartyP