v2.3
and below. For now, I don't have much time to maintain this library anymore. Beside this, Facebook made a lot of improvements on their side. Please, use their pure Android SDK.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.1.1'
}
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,
LoginButton
view for being able to login/logout. You can use any View
.READ
and PUBLISH
permissions. Just mention the permissions you need and this library will care for the rest.Everything is explained in wiki
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.