简体   繁体   中英

How to make photo album private in Facebook using C# SDK

I am developing a winform (desktop) application in C#. How can I create an Album using the Facebook API and also set its privacy as "ONLY ME"?

This is described for albums connection of user . You need to use privacy field.

http://graph.facebook.com/me/albums?name=Demo&privacy={"value":"SELF"}&method=post

Beware:

Privacy Policy: Any non-default privacy setting must be intentionally chosen by the user. You may not set a custom privacy setting unless the user has proactively specified that they want this non-default setting.

For more details on albums privacy settings read documentation for albums connection .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM