I’m providing a facebook share option on my iPhone app screen and need to share some images and URL on the user’s facebook profile . I know there are several third party frameworks like ShareKit and other features like facebook sdk for iOS, but which is the best way I could so the same and i need to get the share button with the number of shares until now as shown in the image below

and on clicking should redirect to authentication.
And should be compatible with iOS5 and above, hope my question is clear.
Thanks in advance
Solved the question myself through research
I used Facebook
Graph APIsince my application needs support fromiOS4+, would have been simple if it was for iOS6 asiOS6has Facebook integration and needs just a few lines of code to implement it.Imported
Graph APifiles and added the following code:And to get the share count of a particular URL in facebook,
use
But this returns the count of all likes,shares and posts altogether, so better find some alternatives to do so.
Hope this helps
Thanks