Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Photo Content Sharing" isn't working to Facebook #1962

Closed
5 tasks done
sagarthecoder opened this issue Dec 2, 2021 · 8 comments
Closed
5 tasks done

"Photo Content Sharing" isn't working to Facebook #1962

sagarthecoder opened this issue Dec 2, 2021 · 8 comments
Labels

Comments

@sagarthecoder
Copy link

sagarthecoder commented Dec 2, 2021

Checklist before submitting a bug report

Xcode version

13.0

Facebook iOS SDK version

9.3.0

Dependency Manager

CocoaPods

SDK Framework

Share

Goals

Share photo to Facebook

Expected results

Want to share photo to facebook.

Actual results

It shows "Shared to facebook". But actually content isn't shared to facebook.

Steps to reproduce

No response

Code samples & details

// My code 


 let photo = SharePhoto()
 photo.image = image
 photo.isUserGenerated = true
 let content = SharePhotoContent()
 content.photos = [photo]
 let fbDialog = ShareDialog(fromViewController: self, content: content, delegate: self)
 if fbDialog.canShow {
     print("pm: fb share can be shown")
     fbDialog.show()
 }

I did everything in info.plist. Even following delegate method is being fired but doesn't share content to facebook actually.

func sharer(_ sharer: Sharing, didCompleteWithResults results: [String : Any]) {
        print("pm: fb sharing done")
}

@jawwad
Copy link
Contributor

jawwad commented Dec 3, 2021

Hi @sagarthecoder - It looks like you are using a very old version of the iOS SDS. Could you try upgrading to the current version and seeing if it works.

If you are using the current version it may be a bug that we just fixed and for which we'll have a release out sometime next week (issue #1938).

@sagarthecoder
Copy link
Author

Even I used the Latest version but doesn't work.

@jawwad
Copy link
Contributor

jawwad commented Dec 6, 2021

Hi @sagarthecoder - We just released v12.2.0 with a fix for issue #1938. Could you try to update and see if this fixes the issue for you?

@jawwad
Copy link
Contributor

jawwad commented Jan 28, 2022

Hi @sagarthecoder - I haven't heard back from you on this. I'm going to close this issue for now. Let me know if you are still having an issue with the latest release (v12.3.1) and I'll reopen this issue. Thanks!

@jawwad jawwad closed this as completed Jan 28, 2022
@sagarthecoder
Copy link
Author

Hi @sagarthecoder - I haven't heard back from you on this. I'm going to close this issue for now. Let me know if you are still having an issue with the latest release (v12.3.1) and I'll reopen this issue. Thanks!

Hi,
I'm experiencing same issues with latest fb sdk version 15.1.0
It shows "Shared in facebook" but didn't share in feed actually.
Xcode version- 13.4
iOS Version - 14.4

@xujiali08
Copy link

@sagarthecoder hi, I would like to know if your problem has been solved as I see that the problem has been colse but don't see a solution as I am experiencing the problem too!

@sagarthecoder
Copy link
Author

@xujiali08 Hi, It's working only if you share it with the developer account you registered. I didn't check it on Live. Maybe in Live, everything is working. But for testing, only the registered Facebook account is working.

@xujiali08
Copy link

@sagarthecoder Of course my account is on the test list, and it's normal for me to use ShareLinkContent in the developer environment, which also gives me the didCompleteWithResults callback, but I don't get the SharingDelegate callback when I use SharePhotoContent. Of course I verified that in the Live environment, everything is fine.I expect it to be resolved in the test environment as well.
@jawwad Could you please follow up on my issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants