facebook / facebook/facebook-ios-sdk
Invitation function is unavailable
- 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
13.3
### Facebook iOS SDK version
13.2
### Dependency Manager
SPM
### SDK Framework
Gaming Services
### Goals
https://developers.facebook.com/docs/games/build/legacy-web-games/gaming-services/gamerequests
Use iOS SDK inviting friends func.
### Expected results
inviting friends func work.
### Actual results
"FBSDKGameRequestContent", inviting friends didn't work,and delegate no any responses.
### Steps to reproduce
facebook Login ,then:
```
FBSDKGameRequestContent *gameRequestContent = [[FBSDKGameRequestContent alloc] init];
// Look at FBSDKGameRequestContent for futher optional properties
gameRequestContent.message = @"YOUR_MESSAGE_HERE";
gameRequestContent.title = @"OPTIONAL TITLE"
// Assuming self implements
[FBSDKGameRequestDialog showWithContent:gameRequestContent delegate:self];
```
### Code samples & details
```swift
https://developers.facebook.com/docs/games/build/legacy-web-games/gaming-services/gamerequests/
iOS SDK:
FBSDKGameRequestContent *gameRequestContent = [[FBSDKGameRequestContent alloc] init];
// Look at FBSDKGameRequestContent for futher optional properties
gameRequestContent.message = @"YOUR_MESSAGE_HERE";
gameRequestContent.title = @"OPTIONAL TITLE"
// Assuming self implements
[FBSDKGameRequestDialog showWithContent:gameRequestContent delegate:self];
```
"FBSDKGameRequestContent", inviting friends didn't work,and delegate no any responses.
plz help,thank you.
```
Contributor guide
Assessment
This issue has not been assessed yet.