- Home /
Post to Facebook app using Application.OpenURL()?
Hello, I'm trying to share scores to Facebook using Application.OpenURL which works well for sharing in a browser but I'm trying to get it to open the Facebook app. I was able to find a post using fb:// with OpenURL() instead of www.facebook.com but I am unsure of what to put after fb:// in order to share something. Any help would be appreciated, thank you.
Answer by ByteSheep · Apr 01, 2014 at 02:16 AM
Check out this link on stackoverflow: http://stackoverflow.com/questions/10416338/open-a-facebook-link-by-native-facebook-app-on-ios
It depends on what you are trying to do, which url are you calling in the Application.OpenURL call? If you want to just go to a certain page you can use this url structure:
fb://profile/<id>
Also check out this link for the full list of available schemes: http://wiki.akosma.com/IPhone_URL_Schemes#Facebook
I am trying to post a status which includes a score, the name of my app and a link. It seems like fb://publish/ is what I want. Thank you for the informative link
Hey, can you give us more details. I have the same problem and I would like some help. Thank you.
How did you write the code for publish, i use this way , it only opens facebook app, but it doesnt share. can you help on it ?
Application.OpenURL("fb://publish"+
"app_id="+AppID+
Your answer
Follow this Question
Related Questions
How do apps post on walls without the actual login flow? 3 Answers
Post Score to Facebook IOS 1 Answer
Need help setting Facebook app for "share" functionality 1 Answer
How to share image in persistentDataPath to facebook feed? 0 Answers
Facebook - Get score that is one higher than your current score 0 Answers