简体   繁体   中英

facebook integration problem in iPhone app

HI..

i want to implement facebook in my iphone game .. i want when game is over there is a facebook connect button .. using which a player can share his score on his wall in facebook .. i have follow the way which is describe in this video { http://vimeo.com/3616452 } but i am getting session not declare error .. so please help out

This video is rather old. They use old facebook-iphone-sdk that is still working but Facebook recommend using new iOS SDK https://github.com/facebook/facebook-ios-sdk

It's a lot easier now. You can find sample project there and adopt it to you app.

I think you getting "session not declare" error because you didn't include facebook sdk header files in your project or Xcode couldn't find it if you SDK placed in another directory.

If you show us some code and better describe your problem it will be much easier to help you.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM