0
私は、次のコードを使用して私のアプリからFacebookへ投稿のすべての投稿に表示するアプリ属性(アプリ名)を取得しようとしている:特に、iOSアプリのFacebook投稿をアプリ属性に表示することは可能ですか?
-(void)shareToFacebook
{
if([m_selectedPhotos count] > 0)
{
NSMutableArray *photos = [NSMutableArray array];
for(int i = 0; i < [m_selectedPhotos count]; i++)
{
NSNumber *selected = [m_selectedPhotos objectAtIndex:i];
if(selected.boolValue == YES)
{
UIImage *selectedImage = [m_scrollView imageViewAtIndex:i].image;
FBSDKSharePhoto *photo = [[FBSDKSharePhoto alloc] init];
photo.image = selectedImage;
photo.userGenerated = YES;
[photos addObject:photo];
}
}
FBSDKSharePhotoContent *content = [[FBSDKSharePhotoContent alloc] init];
content.photos = photos;
content.hashtag = [FBSDKHashtag hashtagWithString:@"#PosePro"];
[FBSDKShareDialog showFromViewController:self
withContent:content
delegate:nil];
}
}
コードの記事正しくリンクがアプリ属性のFacebookへApp Storeのページには投稿と一緒に表示されません。誰もこの動作を有効にする方法を知っていますか?