Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Drop in sharing features for all iPhone and iPad apps
Objective-C C Ruby
Branch: master
Pull request Compare This branch is 23 commits ahead, 31 commits behind mogeneration:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Classes
Resources-iPad
ShareKit.xcodeproj
.gitignore
Config.xcconfig
KitSpec
MainWindow.xib
README
Rakefile
RootViewController.xib
ShareKit-Info.plist
ShareKit_Prefix.pch
main.m
shk_bluebtn.png

README

The code hosted here on github is for ongoing development and contributions  and may contain untested code.  Please use a stable release from http://getsharekit.com for use in your own app.

## Further installation instructions:

0. At the top of your AppDelegate.m file, be sure to include SHKFacebook.h:

#import "SHKFacebook.h"

1. In your AppDelegate, include these two methods (or merge if you already use them, remembering to properly delegate):

- (BOOL)application:(UIApplication *)application 
            openURL:(NSURL *)url 
  sourceApplication:(NSString *)sourceApplication 
         annotation:(id)annotation 
{
  return [SHKFacebook handleOpenURL:url];
}

- (BOOL)application:(UIApplication *)application 
      handleOpenURL:(NSURL *)url 
{
  return [SHKFacebook handleOpenURL:url];
}

2. In your App-Info.plist, include this property:

        <key>CFBundleURLTypes</key>
        <array>
                <dict>
                        <key>CFBundleURLName</key>
                        <string></string>
                        <key>CFBundleURLSchemes</key>
                        <array>
                                <string>fb${FACEBOOK_APP_ID}</string>
                        </array>
                </dict>
        </array>

Where fb${FACEBOOK_APP_ID} looks like fb1234

3. Finally, in SHKConfig.h, set the facebook API ID:

#define SHKFacebookAppID      @"1234"

4. Follow the standard ShareKit instructions below

***

To download a stable release visit:
http://getsharekit.com/install

Installation instructions:
http://getsharekit.com/install

How to add new services:
http://getsharekit.com/add

How to customize the look of ShareKit:
http://getsharekit.com/customize

Full documentation:
http://getsharekit.com/docs

***

Follow @IdeaShower or http://getsharekit.com/blog for updates
Something went wrong with that request. Please try again.