获取Facebook个人资料在tableView Cell的ImageView中 [英] Getting Facebook Profile Pic in tableView Cell's ImageView

查看:129
本文介绍了获取Facebook个人资料在tableView Cell的ImageView中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在我的iphone应用程序所需的Facebook中创建了一个应用程序。

i可以登录到Facebook帐户,我可以允许该应用程序进入我的应用程序。

可以获取个人资料图片登录用户的URL。

i have created an application in facebook required for my iphone application.
i am able to login to facebook account and i can allow that application into my application.
am able to get profile pic url of loggedIn user.

编辑
我的问题是
i需要将该URL转换为图像类型并需要在tableview单元格中显示。
可以任何人告诉我这个。
请帮我
非常感谢您提前提供帮助。

EDIT my problem is i need to convert that url to image type and need to display in tableview cell. can anyone tell me regarding this. please help me. thanks alot for help in advance.

推荐答案

您需要执行以下请求:

[facebook requestWithGraphPath:@"me/picture" andDelegate:self];

然后:

(void)request:(FBRequest *)request didLoad:(id)result {
    imageView.image = [UIImage imageWithData:result];
}

这篇关于获取Facebook个人资料在tableView Cell的ImageView中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆