Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/108.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios FBSDKShareLinkContent PlaceID_Ios_Objective C_Facebook_Facebook Graph Api - Fatal编程技术网

Ios FBSDKShareLinkContent PlaceID

Ios FBSDKShareLinkContent PlaceID,ios,objective-c,facebook,facebook-graph-api,Ios,Objective C,Facebook,Facebook Graph Api,我正在尝试添加一个共享对话框,其中位置已预先填充,但该位置不会显示 简单地说,我使用的代码是: FBSDKShareLinkContent *content = [[FBSDKShareLinkContent alloc]init]; content.placeID=@"295425343918748"; [FBSDKShareDialog showFromViewController:self withContent:content delegate:self]; 你知道为什么这样不行

我正在尝试添加一个共享对话框,其中位置已预先填充,但该位置不会显示

简单地说,我使用的代码是:

 FBSDKShareLinkContent *content = [[FBSDKShareLinkContent alloc]init];
 content.placeID=@"295425343918748";
 [FBSDKShareDialog showFromViewController:self withContent:content delegate:self];
你知道为什么这样不行吗?

你需要Facebook的“发布动作”许可才能发布位置

请检查一下这个-