Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/tfs/3.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
Iphone dialogFeed facebook中的图像更改_Iphone_Objective C_Facebook_Facebook Graph Api - Fatal编程技术网

Iphone dialogFeed facebook中的图像更改

Iphone dialogFeed facebook中的图像更改,iphone,objective-c,facebook,facebook-graph-api,Iphone,Objective C,Facebook,Facebook Graph Api,如何为提要添加自己的图片。我把它放在我的应用文件夹里。我必须给出我的形象,而不是@”http://www.facebookmobileweb.com/hackbook/img/facebook_icon_large.png“ 我想把我的形象放在那里。请提供帮助。参数“picture”仅接受已托管图片的URL。 如果要使用本地存储的图片,则需要先将其上载到服务器,然后在发布到提要时使用该url。picture参数仅接受已托管图片的url。 如果您想使用本地存储的图片,则需要先将其上载到服务器,然后

如何为提要添加自己的图片。我把它放在我的应用文件夹里。我必须给出我的形象,而不是@”http://www.facebookmobileweb.com/hackbook/img/facebook_icon_large.png“


我想把我的形象放在那里。请提供帮助。

参数“picture”仅接受已托管图片的URL。


如果要使用本地存储的图片,则需要先将其上载到服务器,然后在发布到提要时使用该url。

picture参数仅接受已托管图片的url。


如果您想使用本地存储的图片,则需要先将其上载到服务器,然后在发布到提要时使用该url。

您确实应该使用语言或平台标记对其进行标记…无论如何,添加了语言标记。。谢谢你的建议。我将从我的下一个问题开始。你真的应该用语言或平台标记这个…无论如何,添加了语言标记。。谢谢你的建议。我将从下一个问题开始。
- (void)apiDialogFeedUser {
    currentAPICall = kDialogFeedUser;
    SBJSON *jsonWriter = [[SBJSON new] autorelease];

    // The action links to be shown with the post in the feed
    NSArray* actionLinks = [NSArray arrayWithObjects:[NSDictionary dictionaryWithObjectsAndKeys:
                                                       @"Get Started",@"name",@"http://m.facebook.com/apps/hackbookios/",@"link", nil], nil];
     NSString *actionLinksStr = [jsonWriter stringWithObject:actionLinks];
     // Dialog parameters
      NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
                               @"I'm using the Hackbook for iOS app", @"name",
                               @"Hackbook for iOS.", @"caption",
                               @"Check out Hackbook for iOS to learn how you can make your iOS  apps social using Facebook Platform.", @"description",
                               @"http://m.facebook.com/apps/hackbookios/", @"link",
                               @"http://www.facebookmobileweb.com/hackbook/img/facebook_icon_large.png", @"picture",
                               actionLinksStr, @"actions",
                               nil];

   HackbookAppDelegate *delegate = (HackbookAppDelegate *)[[UIApplication sharedApplication] delegate];
      [[delegate facebook] dialog:@"feed"
        andParams:params
        andDelegate:self];

 }