nivm
nivm

Reputation: 447

facebook sdk only public sharing

I have manage to share with Facebook sdk from my own app.

my question is,how can i get which privacy the user selected?

         Example: public / friends / only me 

And if i can decide for the user which privacy?

thanks a lot!

Upvotes: 1

Views: 117

Answers (1)

andyrandy
andyrandy

Reputation: 73984

There is a privacy field in the Post API: https://developers.facebook.com/docs/graph-api/reference/v2.8/post

You can only set a privacy that includes less friends than the default privacy setting a user selected for your App:

This field cannot be used to set a more open privacy setting than the one granted.

Source: https://developers.facebook.com/docs/graph-api/reference/v2.8/user/feed#publish

Upvotes: 2

Related Questions