facebook / facebook/facebook-ios-sdk

ShareLinkContent's quote not displaying in MessageDialog

Open
#2,534 0 comments 0 reactions 0 assignees View on GitHub
bug needs-triage
Dominant language
Swift
Stars
8.1k
Forks
3.7k
PR merge metrics
No merged PRs in 30d

Description

### Checklist before submitting a bug report

- [x] I've updated to the latest released version of the SDK
- [x] I've searched for existing [GitHub issues](https://github.com/facebook/facebook-ios-sdk/issues)
- [x] I've looked for existing answers on [Stack Overflow](https://facebook.stackoverflow.com), the [Facebook Developer Community Forum](https://developers.facebook.com/community/) and the [Facebook Developers Group](https://www.facebook.com/groups/fbdevelopers)
- [x] I've read the [Code of Conduct](https://github.com/facebook/facebook-ios-sdk/blob/main/CODE_OF_CONDUCT.md)
- [x] This issue is not security related and can safely be disclosed publicly on GitHub

### Xcode version

15.4

### Facebook iOS SDK version

17.4.0

### Dependency Manager

SPM

### SDK Framework

Share

### Goals

I'm trying to share a link with a quote via Facebook Messenger.
However, the quote is not appearing in Facebook Messenger. I expected the quote to be displayed along with the shared link. Is there something wrong with the way I'm implementing this, or is this a known issue?

### Expected results

The text from the `quote` should appear in the message preview and be sent along with the link.

### Actual results

Only the link is displayed in Facebook Messenger; the quote text does not appear.

### Steps to reproduce

_No response_

### Code samples & details

```swift
let content = ShareLinkContent()
content.quote = text
if let url {
content.contentURL = URL(string: url)
}
let dialog = MessageDialog(content: content, delegate: self)
dialog.show()
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.