FORUMS

How to Listen to Beats 1 on Android Right Now

If you felt a bit left out by Apple launching their own online radio station Beats 1 … more

NVidia SHIELD TV – XDA TV Device Review

The SHIELD TV is a not an Android smartphone device. However, that doesn’t mean it … more

PSA: Having cellular connectivity or texting issues tonight?

You’re not alone…Tonight, many users are experiencing a myriad … more

Beats Music No Longer Accepting New Accounts

Whenever Apple launches a new product or service, it definitely manages to grab the … more

[Library] ASNE - library for simple social networks integration

11 posts
Thanks Meter: 4
 
By gorbino, Junior Member on 26th August 2014, 10:48 PM
Post Reply Subscribe to Thread Email Thread
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 10:53 PM. Reason: Added link
The Following 4 Users Say Thank You to gorbino For This Useful Post: [ View ]
 
 
30th August 2014, 06:36 AM |#2  
Abhishek verma's Avatar
Senior Member
Flag Jamshedpur
Thanks Meter: 77
 
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, 06:50 PM |#3  
DaGr81's Avatar
Member
Flag Kathmandu
Thanks Meter: 21
 
More
login was successful, retrieving profile was successful but why 0 friends everywhere?
31st August 2014, 03:54 AM |#4  
Abhishek verma's Avatar
Senior Member
Flag Jamshedpur
Thanks Meter: 77
 
More
And when logging in second time some hash key error was toasted.
1st September 2014, 08:27 AM |#5  
Senior Member
Thanks Meter: 9
 
More
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, 10:42 AM |#6  
OP Junior Member
Thanks Meter: 4
 
More
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 03:11 PM.
9th September 2014, 11:13 AM |#7  
OP Junior Member
Thanks Meter: 4
 
More
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, 11:17 AM |#8  
OP Junior Member
Thanks Meter: 4
 
More
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, 11:28 AM |#9  
OP Junior Member
Thanks Meter: 4
 
More
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