0 Basic Graphics Fool Tutorial access to Facebook SDK

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.