如何使用Graph API设置Facebook相册隐私? [英] How to set Facebook album privacy with Graph API?

查看:107
本文介绍了如何使用Graph API设置Facebook相册隐私?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否可以使用RestFB Java库为特定的Facebook相册设置隐私设置?

I would like to know if it's possible to set the privacy setting for a specific Facebook album with RestFB Java library ?

非常感谢您,

此致

安东尼

推荐答案

您可以在创建相册时设置隐私设置.

You can set privacy settings when the album is created.

当前,您无法更新设置,也无法通过API删除现有相册,以防万一您只想删除并重新创建它. http://bugs.developers.facebook.net/show_bug.cgi?id=17111

Currently, you can not update the settings, nor can you delete an existing album via API, in case you wanted to just delete and recreate it as a work around. http://bugs.developers.facebook.net/show_bug.cgi?id=17111

创建相册时,您需要创建一个隐私对象并将其作为参数包含在POST请求中,该请求是JSON编码的字符串,在Post对象的文档中对此进行了更清晰的描述: https://developers.facebook.com/docs/reference/api/post/

When you create the album, you need to create a privacy object and include it as a parameter in the POST request, which is a JSON-encoded string that is described more clearly in the documentation of a Post object here: https://developers.facebook.com/docs/reference/api/post/

这篇关于如何使用Graph API设置Facebook相册隐私?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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