- Home /
Allowing users to post to their FB walls from within a Unity app
I would like it to be possible for a user of my Unity3d app to post to their Facebook wall. They would click on a share button in my app and a tiny window would appear (I would define the look of this window or it could be a native Facebook window) to post to their wall. Please tell me if I understand this correctly.
The following is relating to my Unity3d app on an iOS device. (we can discuss requirements for Android later):
First I would check if Facebook integration is enabled on the device. If thats the case, clicking on a Facebook share button would simply do the work behind the scenes and pop up a confirmation dialog stating the success status of that operation.
If Facebook integration is not enabled or if Facebook is not installed on the device, I would not be able to use native fb functionality but instead I would then use Web auth to achieve this? What about switching to safari to perform this function?
Am I missing a step here?
Also, Im confused about obtaining a Facebook app ID. I've seen videos and read blogs describing you need to obtain an app ID in order to have a Unity app post to a users Facebook wall. Why would I need an app ID?
I am aware of prime31's plugins that provide unity developers with an API to implement this quickly. Theres another one called Unishare which I'm probably going to choose over prime31. with these plugins, you must provide a FB app ID. I'm not sure why I would need a FB app ID for what I'm trying to do though.
If I do need an app ID, would I log in with my personal FB account to create one? or would I have to create a business page account to create an app ID?
I'm really confused about this whole thing. Please help!!!!! :(
The App ID is what Facebook uses to identify and configure your specific application on the Facebook side of things, so that users can grant permission to your app to login and post to FB etc. You need to create an app page in Facebook which will get you an App ID and go from there.
The Facebook docs are lengthy but they walk you through it: http://developers.facebook.com/docs/unity/
thank you for this. I will make sure to read whats in the link you've included. $$anonymous$$y friend made an app in Xcode and he said he didn't need to register for any app ID because he makes use of Facebook integration within iOS. So one of my questions is, is that the ONLY case in which you don't need to register for an App ID?
I have an iOS app built using Xcode and I needed to create a Facebook App page. $$anonymous$$aybe they've streamlined the integration now so that this can be done automatically on your behalf, but I'm certain you do need a Facebook App page with unique ID for each App/Game.
Your answer
Follow this Question
Related Questions
Prime31: Posting To Facebook 0 Answers
facebook sharing Dialog via prime31 plugin 1 Answer
What Facebook account to use for creating app ID 1 Answer
Unity Like Facebook Page through app 3 Answers