Get Updates By E-mail 

facebook

How To Use The Facebook Graph API In Your iPhone and iPad Apps

  •  
  •  
  •  
  •  
  •  

We all know Facebook is a massive database providing a wide variety of information about hundreds of millions of people, and the Facebook app has been tremendously popular on the app store.

Accessing the “Facebook Social Graph” can be done through the Facebook graph API, Facebook Connect was provided to give developers the ability to connect their apps with the Facebook database, but pales in comparison to the Facebook Graph API.

Ray Wenderlich,  the creator of the Space Game Starter Kit and co-author of the Learning Cocos2D book, has written a couple of excellent tutorials utilizing the Facebook Graph API, this is an ongoing tutorial series which features:

  • How to authenticate the Facebook user using Oath
  • Getting profile information
  • Uploading Photos
  • Posting to the user’s wall
  • And more..

The tutorials (so far) can be found here:

How To Use Facebook’s New Graph API from your iPhone App – featuring how to connect to the Facebook graph API, and authenticate the user.

How To Get a User Profile with Facebook’s New Graph API from your iPhone App – How to gather profile data from the Facebook graph api using ASIHttpRequest, and parse the data using the JSON framework.

If you liked this, please share it!


  •  
  •  
  •  
  •  
  •  

With Just 3 Lines Of Code Add Twitter/Facebook Into Your iOS App

  •  
  •  
  •  
  •  
  •  

Social sharing is something that many people look to put into their apps because it increases the chances of an app going viral and getting more sales.

However, with so many features to add — and so little time — it’s often one of those things that ends up being tossed out.

Fortunately for us Nate Weiner has created a slick library that allows you to add in a multitude of social sharing features into an app with just a few lines of code.  Check out the video:

The ability to use many different services is included such as Twitter, Google Reader, Facebook, Read It Later and others.  You can also share different types of content such as URLs, pictures and files.

Best of all the entire library is open source with an MIT license and easily customizable.

The Github Is Here:
ShareKit Github

Check out the homepage and documentation here:
ShareKit Drop In Share Library

Hope you like it, I’m playing with it right now, and so far it looks exactly as described.

[Source: iOS Dev Goodies]

Btw, if you’ve created an open source library and would like some exposure (along with a backlink) submit information about it here and I’ll be glad to check it out, and put it in front of the 2,000+ daily visitors to this site.


  •  
  •  
  •  
  •  
  •