Skip to main content
Participating Frequently
September 10, 2013
Question

navigateToURL launches another app on my iPhone!!

  • September 10, 2013
  • 1 reply
  • 814 views

Hi all.

I'm totally confused on this.  I've developed 6 AIR apps for iOS, so I'm not a rookie but then again I'm far from being a guru.

Anyway, I have a Movie Clip and I attach a navigateToUrl command to it, and point to www.facebook.com/<mybusinesspage>.  I would post the code but a) I don't currently have access to it and b)  It's honestly not that complex!

Whenever I click my Movie Clip, it always launches another app on my iPhone!!  The same app every time!  However if I uninstall this 'other' app from my iPhone, it launches my Facebook page!!

Is there something I'm overlooking here?  Thanks!

This topic has been closed for replies.

1 reply

Colin Holgate
Inspiring
September 10, 2013

The other app that it launches, is that the Facebook app? It’s normal for it to intercept Facebook URLs. One way around that is to go to the ID value for your company, rather than the text version. For example, this will get you to the Thomas and Friends Facebook page:

http://www.facebook.com/160515869555

The ID can be found here:

http://graph.facebook.com/thomasandfriends

Replace thomasandfriends with your company name, then look at the results for the ID line, and use that number in your URL.

Participating Frequently
September 10, 2013

Hi. 

Thanks for the pointer, I'll give it a try.

No, it doesn't launch the facebook app (I'd be happy if it did!).  It actually launches another 'rival' application!  I've basically installed other similar apps in the past, to do research on what's out there and what I can improve on.  And it's one of these that launches!!  Things I've tried up to now:

Tested it on iPhone 3 (problem persists)

Tested on iPhone 5 (problem persists - but I've synched the same profile)

Created another Movie Clip, with a different instance name, and added the navigateToURL action.  Problem persists!

I might delete the profile on one of the phones and try again....

Participating Frequently
September 10, 2013

an update on this:

So, I changed my business name to the ID.  And lo and behold the same thing happened.  It then got me thinking - is this specific to my apps?  So, I opened the 'Notes' app on the iPhone.  I typed in:

http://www.facebook.com - it launched facebook website.  Fine.

Then I typed:

http://www.facebook.com/<mybusiness> - it launched this other app!  Not fine!

http://www.facebook.com/<mybusinessID> - it launched this other app!  Not fine!

and the really top it off....

http://www.facebook.com/thomasandfriends - it launched this other app!  Not fine!

So it must be something that this other app is installing that is redirecting any facebook.com/<whatever> links to their app!!  I can't think of anything else!!!?