开发者

facebook integration problem in iPhone app

开发者 https://www.devze.com 2023-02-26 10:06 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消