Skip to content

Drop in sharing features for all iPhone and iPad apps

Notifications You must be signed in to change notification settings

dagerydoo/ShareKit

 
 

Repository files navigation

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

About

Drop in sharing features for all iPhone and iPad apps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 87.5%
  • C 12.5%