integrate fb

hi how to integrate a Facebook for windows phone 8. help will be appreciated thankq

here is a tutorial of porting thirdSDK to wp8 in Chinese: https://github.com/cocos2d/cocos-docs/blob/master/manual/framework/native/sdk-integration/wp8-thirdSDK/zh.md. If you have any problems, reply here. Thanks.

here native fb inegration sample for wp8 http://facebooksdk.net/docs/phone/tutorial/
i modify simple web-browser sample from here: https://github.com/cocos2d/cocos-docs/tree/master/manual/framework/native/sdk-integration/wp8-webbrowser and add created fb xaml pages from first link.

yeah, if you want to deal with the response from xaml page to native c++, you can have a view at EditBox.xaml implement, or just create a method in BroswerEventHelper to call, or like the method the link https://github.com/cocos2d/cocos-docs/blob/master/manual/framework/native/sdk-integration/wp8-thirdSDK/zh.md mentioned. Thanks.

thanks for response
i have written my complete code in c++ using cocos2dx 2.2.2. but when i type "Install-Package Facebook " command in nuggets package manager console.It shows an error

Install-Package : Unable to find package ‘Facebook’.
At line:1 char:1

  • Install-Package Facebook
  •   + CategoryInfo          : NotSpecified: (:) [Install-Package], InvalidOperationException
      + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand