Simple Facebook SDK for Android which wraps original Facebook SDK.
This is a library project which makes the life much easier by coding less code for being able to login, publish feeds and open graph stories, invite friends and more.
Since my feeling was that the usage of Facebook SDK was too complicated for simple actions like login, I decided to create simpler API for the same actions. I use this library in my applications and maintain the code.
Facebook page: Library: simple-fb
Stack overflow: android-simple-facebook
Issues: here
dependencies {
compile 'com.sromku:simple-fb:4.0.6'
}
Library jar | Branch | Supported Facebook SDK |
---|---|---|
simple-facebook-2.2.jar | v2.0 | 3.14 - 3.23 |
simple-facebook-1.2.jar | v1.0 | 3.0 - 3.8 |
The sample app includes examples for all actions. Check out this very short wiki page of how to run and setup the sample app.
-
Login/Logout
-
Publish
-
Requests/Invite
-
Get
-
Additional options
-
Samples
And,
- Based on latest Facebook SDK and Graph API v2.3
- Permission strings are predefined
- No need to use
LoginButton
view for being able to login/logout. You can use anyView
. - No need to care for correct login with
READ
andPUBLISH
permissions. Just mention the permissions you need and this library will care for the rest. - Open graph support
- And much more
Everything is explained in wiki
- Rony Lutsky
- Martín Marconcini
- Koray Balcı
- Andrew Chen
- Denny Huang
- Mateusz Mlodawski
- booker0108
- Ansgar Mertens
- bperin
- Norbert Schuler
- Chang Yu-heng
Copyright 2013-present Roman Kushnarenko
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.