facebook / facebook-ios-sdk

Used to integrate the Facebook Platform with your iOS & tvOS apps.

Home Page:https://developers.facebook.com/docs/ios

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Facebook Share Not Working

joycastle-gaoyang opened this issue · comments

Checklist before submitting a bug report

Xcode version

15.2

Facebook iOS SDK version

17.0.0

Dependency Manager

CocoaPods

SDK Framework

Share

Goals

Sharing function is working properly

Expected results

Sharing function is working properly

Actual results

The share function doesn't work properly and displays a blank page
IMG_8992

Steps to reproduce

No special reproduction steps are needed, using the samples/FacebookShareSample project and replacing the relevant information with our project's will reproduce the issue.

FacebookAppID: 342073336607831
FacebookClientToken: cf3d11a9410df20bf58c8f25f3f48a37

Code samples & details

@IBAction func shareLink() {
        guard let url = URL(string: "https://newsroom.fb.com/") else {
            preconditionFailure("URL is invalid")
        }

        let content = ShareLinkContent()
        content.contentURL = url
        content.hashtag = Hashtag("#bestSharingSampleEver")

        dialog(withContent: content).show()
    }

Also, I tested the 16.3.1 version of sample and the same bug exists.

same here

This appears to be an issue with the Facebook iOS app itself; if I try to share a photo from Apple Photos to Facebook "story" is the only option shown. It previously would offer "Feed", "Group", "Reel" as options.

This appears to be an issue with the Facebook iOS app itself; if I try to share a photo from Apple Photos to Facebook "story" is the only option shown. It previously would offer "Feed", "Group", "Reel" as options.

Having the same issue.. Only seeing the "Stories" option. The other options (feed/group/reels) were working up until a few days ago.

Same here

I upgraded the Facebook App from the AppStore to the latest version and this resolved the issue.
IMG_8996