Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Library] ASNE - library for simple social networks integration

OP gorbino

26th August 2014, 11:48 PM   |  #1  
OP Junior Member
Thanks Meter: 4
 
11 posts
Join Date:Joined: Aug 2014
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...
Last edited by eagleeyetom; 29th August 2014 at 11:53 PM. Reason: Added link
The Following 4 Users Say Thank You to gorbino For This Useful Post: [ View ]
30th August 2014, 07:36 AM   |  #2  
Abhishek verma's Avatar
Member
Flag Jamshedpur
Thanks Meter: 63
 
97 posts
Join Date:Joined: Feb 2014
More
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?
30th August 2014, 07:50 PM   |  #3  
DaGr81's Avatar
Member
Flag Kathmandu
Thanks Meter: 21
 
71 posts
Join Date:Joined: Aug 2010
More
login was successful, retrieving profile was successful but why 0 friends everywhere?
31st August 2014, 04:54 AM   |  #4  
Abhishek verma's Avatar
Member
Flag Jamshedpur
Thanks Meter: 63
 
97 posts
Join Date:Joined: Feb 2014
More
And when logging in second time some hash key error was toasted.
1st September 2014, 09:27 AM   |  #5  
Senior Member
Thanks Meter: 9
 
148 posts
Join Date:Joined: 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: [ View ]
9th September 2014, 11:42 AM   |  #6  
OP Junior Member
Thanks Meter: 4
 
11 posts
Join Date:Joined: 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
Last edited by gorbino; 9th September 2014 at 04:11 PM.
9th September 2014, 12:13 PM   |  #7  
OP Junior Member
Thanks Meter: 4
 
11 posts
Join Date:Joined: Aug 2014
Quote:
Originally Posted by DaGr81

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
9th September 2014, 12:17 PM   |  #8  
OP Junior Member
Thanks Meter: 4
 
11 posts
Join Date:Joined: Aug 2014
Quote:
Originally Posted by Abhishek verma

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
6th October 2014, 12:28 PM   |  #9  
OP Junior Member
Thanks Meter: 4
 
11 posts
Join Date:Joined: Aug 2014
Add javadoc for ASNE: http://gorbin.github.io/ASNE/

now it is easy to use ASNE: https://github.com/gorbin/ASNE

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes