You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 3, 2019. It is now read-only.
I am using this library to post on wall but when I use custom privacy setting like following code snippet the post is not view as custom but it shows public. please let me know if I am doing wrong code.
#117
Open
kiranboghra opened this issue
Mar 27, 2014
· 1 comment
Privacy privacy = new Privacy.Builder()
.setPrivacySettings(PrivacySettings.CUSTOM)
//.addAllowed(PrivacySettings.ALL_FRIENDS)
.addDenied("10000408555")
.build();
// feed builder
final Feed feed = new Feed.Builder()
.setMessage("Clone it out...")
.setName("Simple Facebook SDK for Android")
.setCaption("Code less, do the same.")
.setDescription(
"The Simple Facebook library project makes the life much easier by coding less code for being able to login, publish feeds and open graph stories, invite friends and more.")
.setPicture("https://raw.github.com/sromku/android-simple-facebook/master/Refs/android_facebook_sdk_logo.png").setLink("https://github.com/sromku/android-simple-facebook")
.setPrivacy(privacy)
.build();
// click on button and publish
mButtonPublishFeed.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
mSimpleFacebook.publish(feed, true, onPublishListener);
}
});
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: