馬上加入Android 台灣中文網,立即免費下載應用遊戲。
您需要 登錄 才可以下載或查看,沒有帳號?註冊
x
出處:
https://developers.facebook.com/docs/android/
使用介紹:
https://developers.facebook.com/docs/android/getting-started/
https://developers.facebook.com/
解壓縮之後,先匯入.facebook-android-sdk-3.6.0facebook這個專案,這是library
然後再依照你的需求匯入.facebook-android-sdk-3.6.0samples下的例子
[Basic samples]
ProfilePictureSample: demonstrates non-logged-in usage of the profile picture control
FriendPickerSample: demonstrates usage of the native friend picker to choose amongst the user"s friends
PlacePickerSample: demonstrates logged-in usage of the place picker control
[Feature samples]
SessionLoginSample: demonstrates detailed login flow using the SDK
JustRequestSample: demonstrates logged-in user making single and batched Facebook API requests
SwitchUserSample: demonstrates an approach to allow switching between multiple users
[Complete samples]
HelloFacebookSample: an all-round sample that demonstrates profile access, status updates and photo uploading
Scrumptious: demonstrates the use of login, requests, pickers, picture uploads, and Open Graph publishing
RPS: demonstrates the use of the Native Share Dialog, Open Graph publishing, pickers, invites, and deep linking.
並請依照https://developers.facebook.com/docs/android/getting-started/裡面的說明進行設定,及將app_id添加在自己專案裡面的string.xml
[sdk套件]
facebook-android-sdk-3.6.zip
(2.23 MB, 下載次數: 5)
|