如何使用iPhone为Facebook创建新相册 [英] how to create new photo album for facebook with iPhone

查看:74
本文介绍了如何使用iPhone为Facebook创建新相册的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我能够将iPhone中的图像成功推送到Facebook墙.但是,当我尝试推动第二张图片时,图片已成功上传到墙上,但并排显示,而不是显示在其他墙上.

I'm able to push a image from my iPhone to the facebook wall successfully. But when I try to push my 2nd image the image is uploaded successfully on the wall but appears side-by-side instead of appearing as the different wall post.

这是因为上传的图像将被添加到同一相册中.那么有什么方法可以将这些图像推送到新相册中,以便每个相册都包含1张图像?

This is because the images uploaded will be added to the same photo album. So is there any way to push these images to new album so that every album contains 1 image?

推荐答案

  1. 首先请确保您具有publish_stream权限以创建新相册.
  2. 然后要创建新相册,请对 https://graph.facebook.com/me/albums ,其中包含访问令牌,唱片集名称和唱片集描述的参数.如果成功创建了相册,则将返回新的相册ID.
  3. 然后使用访问令牌和 https://graph.facebook.com/NEW_ALBUM_ID/photos 进行呼叫其他照片参数将您的照片上传到新相册.
  1. First make sure you have publish_stream permission to create a new album.
  2. Then to create a new album, make a Graph API call to https://graph.facebook.com/me/albums with parameters for the access token, the album name, and the album description. If the album is created successfully the new album ID will be returned.
  3. Then make a call to https://graph.facebook.com/NEW_ALBUM_ID/photos with the access token and other photo parameters to upload your photo to the new album.

默认情况下,如果您不指定任何相册,而只是将照片推送到me/photos端点,则照片将最终存储在为您的应用程序自动创建的相册中.

By default, if you do not specify any album and just push photos to the me/photos endpoint your photos will end up in an album automatically created for your application.

这篇关于如何使用iPhone为Facebook创建新相册的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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