2013年2月25日 星期一

Facebook LoginButton Permissions

在新增LoginButton時,可設定可被公開的權限,那一總共有哪些
final List<String> PERMISSIONS_PUBLISH = Arrays.asList("publish_actions", "publish_checkins");
LoginButton authButton=(LoginButton)findViewById(R.id.authButton);authButton.setPublishPermissions(PERMISSIONS_PUBLISH);

PermissionDescription
read_friendlists讓你可取得使用者的好友名單

read_insights讓你可取得使用者允許的可視資料, 應用程式, 網域(domains the user owns)

read_mailbox讓你可取得使用者的收件匣資訊

read_requests讓你可取得使用者的好友所發出的請求

read_stream
讓你可取得使用者塗鴉牆上的News feed, 甚至具備搜尋的能力

xmpp_loginProvides applications that integrate with Facebook Chat the ability to log in users.
ads_managementProvides the ability to manage ads and call the Facebook Ads API on behalf of a user.
create_eventEnables your application to create and modify events on the user's behalf
manage_friendlists讓你的程式可以建立與編輯使用者朋友群組

manage_notificationsEnables your app to read notifications and mark them as read. Intended usage: This permission should be used to let users read and act on their notifications; it should not be used to for the purposes of modeling user behavior or data mining. Apps that misuse this permission may be banned from requesting it.
user_online_presenceProvides access to the user's online/offline presence
friends_online_presenceProvides access to the user's friend's online/offline presence
publish_checkins讓你的程式可以打卡

publish_actionsEnables your app to post content, comments, and likes to a user's stream and to the streams of the user's friends. This requires extra permissions from a person using your app. However, please note that Facebook recommends a user-initiated sharing model. Please read the Platform Policies to ensure you understand how to properly use this permission. Note, you do not need to request the publish_stream permission in order to use the Feed Dialog, the Requests Dialog or the Send Dialog.
rsvp_eventEnables your application to RSVP to events on the user's behalf



https://developers.facebook.com/docs/reference/login/extended-permissions/

沒有留言:

張貼留言