Nik*_*dze 5 ios facebook-ios-sdk facebook-share
我正在创建FBSDKShareLinkContent对象并将其提供给FBSDKShareDialog.我正在尝试将对话框的默认消息设置为"my highscore is%d!".共享本身正在工作,默认情况下有一条空消息.有人可以帮忙吗?
谢谢!
编辑:这是我的代码:
FBSDKShareLinkContent* content = [[FBSDKShareLinkContent alloc] init];
content.contentURL = [NSURL URLWithString: @"https://itunes.apple.com/us/app/cylinder-game"];
content.contentTitle = @"Cylinder Game";
content.contentDescription = @"Cylinder Game is endless, rhythm based game with super addictive gameplay";
FBSDKShareDialog* dialog = [[FBSDKShareDialog alloc] init];
[dialog setMode:FBSDKShareDialogModeAutomatic];
[dialog setShareContent:content];
[dialog setDelegate:self];
[dialog setFromViewController:UnityGetGLViewController()];
Run Code Online (Sandbox Code Playgroud)
Min*_* Li 10
无法使用SDK提供的共享对话框设置默认消息.它也被认为是预先填写,并且违反了Facebook平台政策,请参阅第2.3节https://developers.facebook.com/policy
| 归档时间: |
|
| 查看次数: |
3585 次 |
| 最近记录: |