final List<String> PERMISSIONS_PUBLISH = Arrays.asList("publish_actions", "publish_checkins");
LoginButton authButton=(LoginButton)findViewById(R.id.authButton);authButton.setPublishPermissions(PERMISSIONS_PUBLISH);
Permission | Description |
---|---|
read_friendlists | 讓你可取得使用者的好友名單 |
read_insights | 讓你可取得使用者允許的可視資料, 應用程式, 網域(domains the user owns) |
read_mailbox | 讓你可取得使用者的收件匣資訊 |
read_requests | 讓你可取得使用者的好友所發出的請求 |
read_stream | 讓你可取得使用者塗鴉牆上的News feed, 甚至具備搜尋的能力 |
xmpp_login | Provides applications that integrate with Facebook Chat the ability to log in users. |
ads_management | Provides the ability to manage ads and call the Facebook Ads API on behalf of a user. |
create_event | Enables your application to create and modify events on the user's behalf |
manage_friendlists | 讓你的程式可以建立與編輯使用者朋友群組 |
manage_notifications | Enables 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_presence | Provides access to the user's online/offline presence |
friends_online_presence | Provides access to the user's friend's online/offline presence |
publish_checkins | 讓你的程式可以打卡 |
publish_actions | Enables 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_event | Enables your application to RSVP to events on the user's behalf |
https://developers.facebook.com/docs/reference/login/extended-permissions/
沒有留言:
張貼留言