【问题标题】:iphone posting link to facebook wall - imageiphone 发布到 facebook 墙的链接 - 图片
【发布时间】:2011-07-29 04:06:38
【问题描述】:

我正在通过 fbgraph API 发布我的 fb 帐户的链接。问题是,当我将链接发布到 fb 时,该链接的左侧会出现一个图标,例如,如果我发布 www.google.com ,那么 google 图像就会出现在链接的左侧。

如何将默认图标更改为我想要的图标? (或)它从站点获取的默认图像位置是什么。 有什么想法吗?

谢谢

【问题讨论】:

    标签: ios facebook facebook-graph-api


    【解决方案1】:

    您可以在 facebook 中为您的应用设置。

    https://developers.facebook.com/apps

    这是您的应用程序图标。

    例如,我的是一条大峡谷 ;-)

    要将图片添加到您的帖子中,只需添加参数@“图片”并填写您要查看的图片的网址。

    NSMutableDictionary* params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
                                   @"myFacebookAppId", @"app_id",
                                   @"http://www.homepage.com", @"link",
                                   @"http//www.homepage.com/sillypicture.png", @"picture",
                                   @"name of the post", @"name",
                                   @"caption of my post", @"caption",
                                   @"content of my post", @"description",
                                   @"my message", @"message",
                                   nil];
    
    [[[myAppDelegate sharedDelegate] facebook] dialog:@"feed" andParams:params andDelegate:self];
    

    【讨论】:

    • 当我通过我的 iphone 应用程序发布到 facebook 的链接时,我认为你错误地理解了我的问题,因为它从我发布的网站随机获取图像检查下面我发布时出现的附加图像google.com 链接。
    • 我被问题中的“图标”弄糊涂了,我想你想问如何在你的链接帖子中添加图片?我以这种方式编辑答案。
    猜你喜欢
    • 2011-07-05
    • 2012-05-14
    • 1970-01-01
    • 1970-01-01
    • 2011-05-29
    • 2011-07-07
    • 1970-01-01
    • 2010-11-07
    • 1970-01-01
    相关资源
    最近更新 更多