Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,813,477 Members 40,161 Now Online
XDA Developers Android and Mobile Development Forum

[Library] ASNE - library for simple social networks integration

Tip us?
 
gorbino
Old
(Last edited by eagleeyetom; 29th August 2014 at 10:53 PM.) Reason: Added link
#1  
Junior Member - OP
Thanks Meter 4
Posts: 10
Join Date: Aug 2014
Post [Library] ASNE - library for simple social networks integration

I develop library to simplify integration with social networks ASNE. Just add dependency and you will integrate SDK. I don't need to understand "How it works?" for every social network, download SDK or use some libraries for OAuth and make http calls by yourself. ASNE should makes your life easier. But now I need help from Android developers community, maybe some improvements or at least tests?

GitHub repo - http://github.com/gorbin/ASNE

or you can try demo from Google Play, search ASNE

Short description:

If you want to integrate your application with multiple social networks just choose ASNE modules and add them to your project. You just need to: add module, build SocialNetworkManager and configure your AndroidManiferst. ASNE contains common interface for most popular social networks, but you can easily make module for another.

ASNE contains modules for social networks:
  • Twitter
  • LinkedIn
  • Facebook
  • Google Plus
  • Vkontakte
  • Odnoklassniki

ASNE got almost all necessary requests to social networks
  • Login
  • Configure necessary permissions
  • Get Access Token
  • Get current person social profile
  • Get social profile of user by id
  • Get social profile for array of users
  • Get detailed user profile
  • Share message
  • Share photo
  • Share link
  • Request Share dialog with message/photo/link
  • Check is user(by id) is friend of current
  • Get list of Friends
  • Adding friends by id
  • Remove friend from friend list
  • Any request to chosen social network - you got SDK

I hope it would be useful. At least I use it in 2 commercial project - all works fine!

Tnx for your reply...
The Following 4 Users Say Thank You to gorbino For This Useful Post: [ Click to Expand ]
 
Abhishek verma
Old
#2  
Abhishek verma's Avatar
Member
Thanks Meter 59
Posts: 87
Join Date: Feb 2014
Location: Jamshedpur
Sounds good, trying

---------- Post added at 05:36 AM ---------- Previous post was at 05:27 AM ----------

Don't know why, but your app is showing 0 friends. Am I missing something?
LAS: Last App Switcher
Switch to a better Switcher
LAS: Last App Switcher
 
DaGr81
Old
#3  
DaGr81's Avatar
Member
Thanks Meter 6
Posts: 66
Join Date: Aug 2010
Location: Kathmandu
login was successful, retrieving profile was successful but why 0 friends everywhere?
HTC Google Nexus One
BlackRose HBOOT Version: 7.35.5017
Radio Version: 5.08.00.04
ClockworkMod Recovery Version: 5.0.2.0
ROM: CyanogenMod 7.2
Current Status: Broken Power Button but still rigid.


LG Google Nexus 4
Bootloader: MAKOZ30d
Baseband: .83
TWRP Recovery
ROM: CyanogenMod 11


Asus Google Nexus 7
Bootloader Version: 4.13
TWRP version: 2.6.3
ROM: CyanogenMod 11
 
Abhishek verma
Old
#4  
Abhishek verma's Avatar
Member
Thanks Meter 59
Posts: 87
Join Date: Feb 2014
Location: Jamshedpur
And when logging in second time some hash key error was toasted.
LAS: Last App Switcher
Switch to a better Switcher
LAS: Last App Switcher
 
tonno16
Old
#5  
Senior Member
Thanks Meter 9
Posts: 148
Join Date: May 2010
Quote:
login was successful, retrieving profile was successful but why 0 friends everywhere?
I think is normal. When you log in to an app, you can see only friends who use that app. This happend from 30 april
The Following User Says Thank You to tonno16 For This Useful Post: [ Click to Expand ]
 
gorbino
Old
(Last edited by gorbino; 9th September 2014 at 03:11 PM.)
#6  
Junior Member - OP
Thanks Meter 4
Posts: 10
Join Date: Aug 2014
Sorry for a late reply was away. But now ready for questions

By the way while I was away I add Instagram support - now you can easily add asne-instagram from maven central and use in application
More of it wrote simple tutorial article about how to integrate social networks via asne on codeproject and github sample

and of course resolve some bugs in google play app

feel free to ask about anything or write me via email - gorbin.e.o@gmail.com
 
gorbino
Old
#7  
Junior Member - OP
Thanks Meter 4
Posts: 10
Join Date: Aug 2014
Quote:
Originally Posted by DaGr81 View Post
login was successful, retrieving profile was successful but why 0 friends everywhere?
Facebook got this limitations - me/freinds send back only friends in app

but in other networks should show all your friends - if not can you write some more information
 
gorbino
Old
#8  
Junior Member - OP
Thanks Meter 4
Posts: 10
Join Date: Aug 2014
Quote:
Originally Posted by Abhishek verma View Post
And when logging in second time some hash key error was toasted.
I resolve it last updates can you check project in github - I don't get toasts anymore

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Create a Simple Custom Launcher from Scratch

When you are starting your journey intoany sort of development, it’s never easy at the … more

MediaTek Continues Steps Towards Being Developer-Friendly

Not too long ago MediaTek was very closed off towards the mobile developer … more

Sony PS4 Remote Play Ported to All Android Devices

Im pretty sure that every informed gamer out there perked their ears up when Sony came out … more