Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by andrewow · Feb 01, 2015 at 10:14 AM · iosfacebooksocial

Open Facebook fan page in Unity iOS app

I want to link to my Facebook fan page from my Unity iOS App.

Using Application.OpenURL(https://www.facebook.com/mypage) works on Android, but in iOS it opens the Facebook app to the news feed.

I have also tried using fb://page/123456 like described here: http://answers.unity3d.com/questions/777838/unity-like-facebook-page-through-app.html

but that also does not work. (Perhaps not surprisingly since that answer was for an Android app as well)

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image CiaranLyne · Feb 01, 2015 at 11:11 AM 1
Share

Have you tried using Application.OpenURL(https://m.facebook.com/mypage) Only change is the m.facebook.com If that doesn't work comment back and I will look into it further.

avatar image andrewow · Feb 01, 2015 at 07:31 PM 0
Share

Thanks! What happens on the iOS version is that it opens up the Facebook page in Safari. In an ideal world, the iOS version would open the Facebook App if it was installed directly to the fan page, and if not, go to the mobile version. But if that's the best I can get, it's certainly an improvement.

avatar image Naphier · Feb 02, 2015 at 02:16 AM 0
Share

This should help, but it's finky and subject to fb changing stuff like they love to do. http://forum.unity3d.com/threads/open-facebook-app-ins$$anonymous$$d-safari-ios-c.143623/ You need to change "page" to "profile" Also that thread has a nice way of launching the FB app while checking if it is installed on android as the facebook.com URL doesn't launch the FB app on many devices (unless they recently changed that, finally...)

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

U3DXT Game Crashes when calling SocialXT.Share 1 Answer

Facebook App Submit For Review Suggestion 0 Answers

Facebook integration in a Windows Phone 8 game. 0 Answers

Facebook - Is it possible to logout other active sessions? 0 Answers

Xcode hook up with Unity 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges