Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Integrate Facebook plugin on my app — Gideros Forum

Integrate Facebook plugin on my app

pedroluis5pedroluis5 Member
edited March 2013 in General questions
I try to integrate the facebook plugin on my application, but i have a little information about this.
who already implemented this?

this step on gideros manual

1-Download and install Facebook SDK from https://developers.facebook.com/ios/downloads/ (done)
2-Add FacebookSDK.framework to your project (xcode project ????????).
3-Add the backward compatibility headers as described https://developers.facebook.com/docs/howtos/feed-dialog-using-ios-sdk/#step2(i not undestand)
4-Add {Gideros Installation Directory}/All Plugins/Facebook/source/iOS/* files to your Xcode project. (ok)
5-If enabled, disable “Application does not run in background” property in .plist file. (xcode .plist?)

someone has an example?

tks

Comments

  • tkhnomantkhnoman Member
    edited March 2013 Accepted Answer
    When you download that pkg of Facebook SDK and extract it, you will get FacebookSDK.framework inside it, add that to XCode project
    (drag to "Project Navigator", that file list, or you can do Add files to "projectName")
    (Or you can go to Build Phases, Link Binary With Libraries, +, Add Other...)


    That 3rd link now directing to a weird page. It was not that in the past.
    Actually the 3rd step is including "DeprecatedHeaders" folder to the project. (FacebookSDK.framework > Version > A). Add that as "Create group for any added folder".

    That 5th part, you doesn't need to bother that, but yeah. That is XCode's .plist.

    Also, you need to include adSupport.framework and Account.framework, and don't forget to set it as "optional", for avoiding crash on iOS 5 and below.
Sign In or Register to comment.