Where to set the text "shared via" for the Facebook application

I have an iOS app that can create promotions on Facebook. The exchange itself works fine, but we do not see the text for the string "shared via", as you can see in the attached image. He simply says: "Share the link through." I expect the text to be "separated by reference via APPNAME". instead of this.

enter image description here

I already tried to add some settings for the Facebook application, but this did not help.

This is how I run share in my iOS app:

NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys: name], @"name", caption, @"caption", description, @"description", url, @"link", picture, @"picture", nil]; [FBRequestConnection startWithGraphPath:@"/me/feed" parameters:params HTTPMethod:@"POST" completionHandler:^(FBRequestConnection *connection, id result, NSError *error) { if (!error) { // ... } else { // ... } }]; 

Where can I make this parameter? Is this a setting for the Facebook app, or do I need to add it for sharing in my iOS app?

+6
source share
1 answer

I know this is a multi-level setup, and to be honest, I’m not sure which or all of these things contribute to the “sharing ...” that will be installed, but currently I got it working with my application, so I will tell you detailed information about what I did, and maybe you are missing one of the following steps: (I deleted the details specific to my application)

1) On the Settings screen of my account for Facebook developers, I have the following:

enter image description here

Please note that I have the application identifier, display name, package identifier, and “iPhone Store Identifier”, which refers to the application. If I were to guess, I would say that setting this store id causes this. This seems to produce one of three results when users click on a link:

  • If the user uses the iPhone and the installed application, the application starts.
  • If the user uses the iPhone and does not have it installed, they are sent to the App Store for the provided store identifier.
  • Otherwise, if they are in a different browser, I am sure that they will be sent to your Facebook page.

2) At the bottom of the Application Details page, there is a choice for the application page. I did all this after creating a new facebook account for my development team and had to be added as an administrator to our business page in facebook App / Company facebook. Then I managed to link our page with the application.

enter image description here

3) Then I included three things in Plist for my application, FacebookAppID, FacebookDisplayName and added fb123 ..... (123, which is the identifier of the Facebook application) to the URL types, as shown below:

enter image description here

0
source

All Articles