Image facebook图形api图像GraphRequest

Image facebook图形api图像GraphRequest,image,react-native,facebook-graph-api,Image,React Native,Facebook Graph Api,我尝试在使用FB graph登录后获取用户的配置文件映像。我得到一个网址,但没有图像 代码: async fetchProfile(回调){ 返回新承诺((解决、拒绝)=>{ const请求=新的GraphRequest( “/我”, { 参数:{fields:{string:'picture.width(480),name'} }, (错误、结果)=>{ 如果(结果){ 常量配置文件=结果 profile.avatar=`https://graph.facebook.com/${result.

我尝试在使用FB graph登录后获取用户的配置文件映像。我得到一个网址,但没有图像

代码:

async fetchProfile(回调){
返回新承诺((解决、拒绝)=>{
const请求=新的GraphRequest(
“/我”,
{
参数:{fields:{string:'picture.width(480),name'}
},
(错误、结果)=>{
如果(结果){
常量配置文件=结果
profile.avatar=`https://graph.facebook.com/${result.id}/picture`;
解析(配置文件)
}否则{
拒绝(错误)
}
}
)
this.requestManager.addRequest(request.start())
})
}
}
答复:

{
  "avatar": "https://graph.facebook.com/4567877885493457976/picture",
    "id": "4567877885493457976",
      "name": "Billy Pope",
        "picture": {
    "data": {
      "height": 389,
        "is_silhouette": false,
          "url": "https://platform-lookaside.fbsbx.com/platform/profilepic/?asid=10219826402184549&width=480&ext=1588823752&hash=AeTZXPsxkrdi79ep",
            "width": 480
    }
  }
}

我如何从这些url(化身或url)中提取图像?感谢

显示图像,我将视图更改为:

{this.state.picture ? (
   <Image
       source={{ uri: this.state.picture }}
       style={styles.imageStyle}
   />
) : null}
{this.state.picture(
):null}

随着高度和宽度的增加,图像突然出现

要下载图像还是要将其显示为配置文件图片?我要显示配置文件图像