Skip to content

pbs0512/sdkbox-sample-facebook

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to run sdkbox samples

Steps:

mkdir samples
cd samples

# must clone this repo
git clone --depth 1 https://github.com/sdkbox/sdkbox-cocos2d-x-binary.git

# clone sample repo
git clone --depth 1 https://github.com/sdkbox/sdkbox-sample-facebook.git

# run sample with specified language and platform
# eg: cpp and ios
./sdkbox-cocos2d-x-binary/run_sample.sh facebook cpp ios
# javascript and android
./sdkbox-cocos2d-x-binary/run_sample.sh facebook js android

# <optional> if exists "download-depends.sh" in sample repo, execute it
# ./sdkbox-sample-facebook/download-depends.sh

Memo:

  1. Sample repo and cocos2dx repo must be in same level directory
+-- sdkbox-cocos2d-x-binary
+-- sdkbox-sample-facebook
| +-- cpp
| +-- lua
| \-- js

Notice

You have to create your own application in order to try out facebook functionality, because any app with posting functionality has to pass facebook's review but you can out any testing functionality if you created your own facebook app

FAQ

  1. fbauth2 is missing from your Info.plist under LSApplicationQueriesSchemes and is required for iOS 9.0

https://developers.facebook.com/docs/ios/ios9

About invite friends

  1. Create "App Links Hosting API" https://developers.facebook.com/quickstarts/?platform=app-links-host
  2. Add your test friend to your "Testers" group
  3. "Friend" check the invitation with *Facebook Native App on his/her Mobile Device (iPhone/Android)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 61.3%
  • JavaScript 9.9%
  • C 9.1%
  • Objective-C 8.9%
  • C++ 5.5%
  • Lua 4.8%
  • Other 0.5%