Questions tagged [fbsdksharekit]
46 questions
8
votes
2 answers
"deprecated from Graph API 2.9" warnings for FBSDKShareLinkContent properties
When I try to pass an FBSDKShareLinkContent to an FBSDKMessageDialog, it returns with warnings for some properties, saying that those are deprecated from Graph API 2.9.
'imageURL' is deprecated: imageURL is deprecated from Graph API…

Tamás Sengel
- 55,884
- 29
- 169
- 223
8
votes
1 answer
Open native iOS app from Facebook feed
I'm sharing a FBSDKShareOpenGraphObject with an FBSDKShareOpenGraphAction of type "video.watches" using the Facebook's SDK. Everything goes fine, the post appears on the Facebook feed but if I tap on the application's name I get an error. This is…

ov1d1u
- 958
- 1
- 17
- 38
4
votes
2 answers
Missing quote when sharing a link to Messenger
I want to be able to send a link to Facebook Messenger along with a message. On their doc they say I need to assign a value to variable quote, but no success, the link is present but not the quote...
Here is their doc:
/**
Some quote text of the…

Jaythaking
- 2,200
- 4
- 25
- 67
4
votes
2 answers
Receiver type 'FBSDKError' (aka 'enum FBSDKError') is not an Objective-C class
Upon upgrading the Facebook SDK, I get an error.
The resulting pods are:
Using FBSDKCoreKit (5.0.0)
Using FBSDKLoginKit (5.2.3)
Using FBSDKMarketingKit (5.0.0)
Using FBSDKMessengerShareKit (1.3.2)
Using FBSDKPlacesKit (5.2.3)
Using FBSDKShareKit…

kbinks
- 41
- 3
4
votes
1 answer
Could not build module 'FBSDKShareKit'
I'm upgrading some pods, namely to support ParseLiveQuery. I'm now running into an error in one of my header files
Could not build module 'FBSDKShareKit'
Also in my errors:
Podfile:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios,…

Zack Shapiro
- 6,648
- 17
- 83
- 151
4
votes
3 answers
How to share product details from IOS app in Facebook
I am making a online shopping based App. I want to create a functionality to post my product details in Facebook. Can anyone tell me how I can achieve this?
I want to share product details automatically in fb when the user press share button.

Neeraj Sonaro
- 346
- 1
- 16
4
votes
2 answers
using FBSDKShareLinkContent not able to share text in iOS 9
I am try to share text in Facebook using app. i am able to do login but when i tried to share text getting this
Once i clicked ok every thing is gone and i am logged in Facebook app in device still asking to log in
#import…

Sport
- 8,570
- 6
- 46
- 65
3
votes
2 answers
SwiftUI How to share a URL to Facebook using FBSDKShareKit and ShareDialog?
I tried looking for a solution in posts such as this and this where people asked this very same question: How to share a url to Facebook using SwiftUI?
I even tried this post where somebody asked how to export a file using SwiftUI, but my problem is…

Nico Cobelo
- 557
- 7
- 18
2
votes
0 answers
FBSDKSharingDelegate callbacks only work only with FBSDKShareDialogModeShareSheet - is this expected behaviour? [iOS 10 + 11]
I have been using code like this to share videos to Facebook:
FBSDKShareVideo *video = [[FBSDKShareVideo alloc] init];
video.videoURL = assetURL;
FBSDKShareVideoContent *content = [[FBSDKShareVideoContent alloc] init];
content.video =…

Alexander Gingell
- 332
- 2
- 17
2
votes
0 answers
Share Image with Description in facebook swift 3
I am trying to share an image with description to the facebook from my app using FBSDKShareKit. but the problem is, I am unable to add description with the image .
Currently I have:
let content: FBSDKSharePhotoContent = FBSDKSharePhotoContent()
let…

Invictus Cody
- 517
- 6
- 17
2
votes
0 answers
Facebook post do not open my application when i try from safari even though it works when using facebook application.
I have shared some content to Facebook and I am using this POC for that.
NSString *title = @"Some Title";
NSString *shareBody =[NSString stringWithFormat:@"%@\nI have rated %@ as %zd/5", self.commentTextView.text, store.name, self.rating];
NSString…

kashifasif
- 172
- 11
2
votes
0 answers
Cannot share content to Facebook page's timeline using SLComposeViewController
When sharing content to Facebook from app using iOS's Social Framework, the share dialog (SLComposeViewController) only allows us to share to MyTimeline/Friends/Group.
There is not an option to share to the user's page/business. Is there any way to…

badhanganesh
- 3,427
- 3
- 18
- 39
2
votes
3 answers
How to share photos to Facebook in Objective-C?
I want to share photos upon my custom button click, am able to share links and messages but when it comes to the sharing of photos am not able to do.
I am using latest Facebook SDK framework (4.15.1).
This is my code in inside the button click.
-…

Ganesh
- 89
- 3
- 14
2
votes
0 answers
How to share post from background in objective c using facebook
How to implement background share post (image,title) to facebook(without displaying dialog or popup) using objective c

narendrakumar b
- 115
- 1
- 12
2
votes
0 answers
Is it possible to use app url scheme as NSURL in FBSDKShareLinkContent
We can post the link content by using the code:
FBSDKShareLinkContent *content = [[FBSDKShareLinkContent alloc] init];
content.contentURL =
[NSURL URLWithString:@"http://www.google.com"];
content.contentTitle=@"Sample app…

Teja Nandamuri
- 11,045
- 6
- 57
- 109