I have an app. I want to integrate Facebook to this. I want to make it because I have a program, which count numbers. I want enable the user to send its counted number to his/her user feed on Facebook. I have read the facebook's page for developers about the sdk, and about the imports, but I don't know for example, how I can make my program, that the user need to press a button, and then if he want to connect to FB , he will can. I only read about how I can build all of my program "over" FB . And 开发者_运维百科I don't know how I can enable the user, to post its number to fb if he press a button, but I only want to show this button, if the user connected to fb. Could you please give me any tutorials, helps, and advices please? Or example codes? Thank in advance!
All you need is to Download the Sample Code from GitHub Source ,it include the following 1. Authentication Process. 2. Logout Function from facebook. 3. Post on User Wall. 4. Upload image to user Album.
Check this Facebook test Application
Use Test folder for getting all the above options.. Also it is Library Project follow the steps in Readme file.
For further more Info check this Facebook for Android
精彩评论