Facebook IOS SDK share issue

Posted on 2013-09-16
Medium Priority
Last Modified: 2013-09-16
I am using Facebook SDK 3.7.1 and iOS 6.
I have included the Facebook SDK Framework in my app.

I have added the following code to a button in my iOS app -

NSURL* url = [NSURL URLWithString:@"https://developers.facebook.com/ios"];
[FBDialogs presentShareDialogWithLink:url
                              handler:^(FBAppCall *call, NSDictionary *results, NSError *error) {
    if(error) {
        NSLog(@"Error: %@", error.description);
    } else {

I have updated my plist per the instructions and created an app under facebook developers.
I have the facebook app installed on my iPhone.

When I click the button on my app the code runs but I don't get the facebook share dialog.

Any idea what I am missing?

Question by:kevinvw1
1 Comment

Accepted Solution

kevinvw1 earned 0 total points
ID: 39498581
Never mind, I didn't have the latest version of the Facebook iPhone app installed.

I updated the app and now the share dialog comes up.


Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This article explores several main social media platforms.
If you are a budding entrepreneur and using Facebook for the same purpose, you need to make good use of the available data to gauge the impacts of your marketing campaigns. This is where important metrics come into the picture. These help you optimi…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

586 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question