0 Basic Graphics Fool Tutorial access to Facebook SDK
I video tutorial the use of Calayer in the class iOS
1. Click on the link to the right to go to Facebook Developer Center Https://developers.facebook.com
2. Enter the account password (no account password, need to register a)
3. Click Manage Apps
4. Add application youxianming
5. Download the SDK
6. Installing the SDK
7. New Demo project, named Facebooksdktest (here will affect Bundleid, note)
8. Open the go to Folder , paste ~/documents/facebooksdk, drag facebooksdk.framework into the project, take care not to tick Copy the items if needed option and compile it to see if it will succeed.
9. Add URL schemes and facebookappid,facebookdisplayname
Modify the Bundleid and fill it in the Web, you can test it later.
Add the header file in the APPDELEGATE.M and paste it in the applicationdidbecomeactive: method [Fbappevents Activateapp];
Add a button
Test log - in
Get user information
Appendix:
Note the following three-step procedure
0 Basic Graphics Fool Tutorial access to Facebook SDK