android-simple-facebook
v2.3
and below. In the future, I will make the needed changes to support latest changes on FB side. Currently, I don't have much time to maintain. PRs are welcomed.
Currently this lib was tested and works with graph api 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.
Community & Issues
Facebook page:
Library: simple-fb
Stack overflow:
android-simple-facebook
Issues:
here
Latest Release
dependencies {
compile 'com.sromku:simple-fb:4.1.1'
}
Old Versions
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 |
Sample App
The sample app includes examples for all actions. Check out this very short wiki page of how to run and setup the sample app.
Setup/Configuration
Features
-
Login/Logout
-
Publish
-
Requests/Invite
-
Get
-
Additional options
-
Samples
And,
- Based on latest Facebook SDK and Graph API.
- Supports oldest Graph API versions.
- 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
Documentation
Everything is explained in wiki
Contributors
- Rony Lutsky
- Martín Marconcini
- Koray Balcı
- Andrew Chen
- Denny Huang
- Mateusz Mlodawski
- booker0108
- Ansgar Mertens
- bperin
- Norbert Schuler
- Chang Yu-heng
- Samed Ozdemir
- Filipe de Lima Brito
License
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
http://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.