Skip to content

A very basic example of posting to a Facebook wall from an iOS 6 app...

Notifications You must be signed in to change notification settings

stuffmc/FBShare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FBShare Demo App

This is a sample code to show the different ways of posting to Facebook.

One simple way is using SLComposeViewController but it's not very powerfull.

The SLRequest way required a little bit of digging in Facebook's docs and [this post on SO](T: http://facebook.stackoverflow.com/questions/12644229/ios-6-facebook-posting-procedure-ends-up-with-remote-app-id-does-not-match-stor) helped me a lot!

It's a 2 step process though the first time (which, given, can be done in one):

  1. An initial step is for the user to "allow the app" to post for him
  2. Then, on each "post" it's asked again

It means the very first time it's required to show 2 steps (the first one could done in some settings or else, but since you don't need a setting with the Facebook credentials in your app...)

Enjoy!

About

A very basic example of posting to a Facebook wall from an iOS 6 app...

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published