0

OWActivityViewController for iOS

-

 

OWActivityViewController is a fork of REActivityViewController, with no external dependence. only support iOS integrated Social Network (for iOS 6: Twitter/Facebook/SinaWeibo, for iOS 5: Twitter).

Here is REActivityViewController dependencies:

  • AFNetworking ~> 1.1
  • Facebook-iOS-SDK ~> 3.2
  • DEFacebookComposeViewController ~> 1.0.0
  • REComposeViewController ~> 2.0
  • PocketAPI ~> 1.0.2
  • SFHFKeychainUtils ~> 0.0.1
  • AFXAuthClient ~> 1.0.5

For some one only want their apps the same behavior as pre installed apps (such as Photos app) under iOS 6 (show Twitter/Facebook/SinaWeibo as share options, even if corresponding account is not set up in iOS Settings.), and provide modern UI under iOS 5, there is no need to depend on lots external libraries.

REActivityViewController is more powerful, but OWActivityViewController is more slim; they are different.

iOS 6.x iOS 5.x
Screenshot under iOS 5.x Screenshot under iOS 6.x

GitHub

0

Post Image on friends facebook wall

-

In this post we shall learn how to post image data on facebook friends wall.

In my last series of facebook i have explained how to post some text data on your friends wall, well posting an image on your friends wall is the similar with just one minute change.

Note: Remember one thing image is a file and if you want to post a file on your friends wall then in that case you have to make use of a class named "FBGraphFile".

(more...)

0

DEFacebookComposeViewController for iOS

-
Full

DEFacebookComposeViewController is an iOS 4 compatible compose view controller for posting picture and message on user wall. Looks like the Facebook Sheet in iOS 6.

GitHub

0

ShareKit 2.0 Easy Social Sharing Library For iOS Apps Is Released

-

Almost a year and a half ago I first mentioned the ShareKit library for enabling social sharing within iOS apps for urls, files, images, and text to many different social networks including Twitter, Facebook, and Tumblr (among others).

This library became extremely popular because with just a few lines of code you could implement social sharing with a very well made interface.

For some time there have been some issues with the library, but the official build was not updated, and updates have been very infrequent at the official repository.   This meant you likely had to tweak it yourself or go searching for a working fork if you wanted to use it in a project.

This is now the ShareKit community repository and includes many updates from numerous forks, and the version has been updated to 2.0.

This build provides numerous fixes, includes support for more social networks (LinkedIn, FourSquare) uses native iOS Twitter support, and promises more frequent updates.

You can find the download repository here.

For up to date instructions you can check out the Wiki.

If you gave up on ShareKit because of the lack updates it looks like time to have another look.

4

Simplifying Facebook iOS SDK

-

The Problem with Facebook iOS SDK

Facebook+Singleton
Now that the Facebook iOS SDK has been changed to use Graph API, many people are trying to figure out just how to use it properly. In my opinion, however, there are problems with the SDK’s architecture that make it likely to be used poorly. For example, Facebook’s documentationrecommends instantiating the Facebook class and authenticating from within your AppDelegate. This is suboptimal for a several of reasons.

First, in many apps that allow Facebook integration, the user may never actually use the Facebook features. Thus, loading the class and authenticating the user is something that should only be done when the user has decided to use a Facebook feature. In other words, we should be lazy loading the Facebook class but their documentation suggests otherwise.

Secondly, the log in method chosen by Facebook (fast-switching the user to the Facebook app or Safari to log in) makes a very poor first impression for your app. Who wants their app to look like it crashed then loaded some Web page the very first time it’s launched?

(more...)