Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/facebook/8.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 应用程序图标未显示在facebook个人资料中_Iphone_Facebook - Fatal编程技术网

Iphone 应用程序图标未显示在facebook个人资料中

Iphone 应用程序图标未显示在facebook个人资料中,iphone,facebook,Iphone,Facebook,当我在墙上发布内容时,我想在facebook个人资料中显示我的应用程序图标。 我已经完成了facebook开发者帐户,并完成了创建新应用部分,在那里我提交了我的应用图标。 但是当我贴在墙上时,我只能看到字符串,而看不到图标 here is my snippet of code. -(IBAction)btnPost:(id)sender { NSMutableDictionary *params = [NSMutableDictionary dictio

当我在墙上发布内容时,我想在facebook个人资料中显示我的应用程序图标。 我已经完成了facebook开发者帐户,并完成了创建新应用部分,在那里我提交了我的应用图标。 但是当我贴在墙上时,我只能看到字符串,而看不到图标

    here is my snippet of code.

    -(IBAction)btnPost:(id)sender
    {
        NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
                                       @"myPB", @"name",
                                       @"http://www.my-t3.com/", @"link",strFbmsg, @"message",
                                       nil];
        [appdelegate._facebook requestWithGraphPath:@"me/feed" andParams:params andHttpMethod:@"POST" andDelegate:self];
    }

在您的字典中添加一个新对象,该对象带有指向图像的http链接,并使用键“picture”插入该对象

例如:

     [[NSMutableDictionary alloc] initWithObjectsAndKeys:
     @"https://developers.facebook.com/ios", @"link",
     @"https://developers.facebook.com/attachment/iossdk_logo.png", @"picture",
     @"Facebook SDK for iOS", @"name",
     @"Build great social apps and get more installs.", @"caption",
     @"The Facebook SDK for iOS makes it easier and faster to develop Facebook integrated iOS apps.", @"description",
     nil];

只需在字典中传递另一个名为picture的对象,并将图像图标放在其中。它会起作用的。。我做了。抱歉它不工作,我想显示标签上的图像,但有一个空白。图像不显示