Faved Tracks

37 views
Skip to first unread message

PDT

unread,
Sep 17, 2011, 6:38:16 PM9/17/11
to 8tracks public API
Hey Remi,

I am putting the finishing touches on the new version of Mixtapes, and
I wanted to check with you if some as yet undocumented parts of the
API support getting the list of tracks 'faved' by a user.

What about followers, and following?

Paul

Remi Gabillet

unread,
Sep 17, 2011, 9:04:09 PM9/17/11
to 8tracks-p...@googlegroups.com
Hi Paul, great to hear a new version is coming out.

We've had followers and following in the API for a while but not
favorite tracks. I just hacked it together quick.

http://8tracks.com/users/1/follows_users.json
http://8tracks.com/users/1/followed_by_users.json
http://8tracks.com/users/1/favorite_tracks.json

Hope this works for you, let me know.

Remi

Paul Tidwell

unread,
Sep 17, 2011, 9:34:30 PM9/17/11
to 8tracks-p...@googlegroups.com
Dude you are a wizard. Thanks. There goes my Sunday.

Sent from my Windows Phone

From: Remi Gabillet
Sent: 9/17/2011 6:04 PM
To: 8tracks-p...@googlegroups.com
Subject: Re: Faved Tracks

Remi Gabillet

unread,
Sep 17, 2011, 9:51:02 PM9/17/11
to 8tracks-p...@googlegroups.com
lol, thanks Paul.

Paul Tidwell

unread,
Sep 18, 2011, 3:55:35 PM9/18/11
to 8tracks-p...@googlegroups.com

This may be asking a lot, but, is it possible to include the "faved-by-current-user" flag on the favorite_tracks response?

Remi Gabillet

unread,
Sep 18, 2011, 6:18:58 PM9/18/11
to 8tracks-p...@googlegroups.com
Paul, it makes the call a lot less efficient unfortunately so I'd rather not.

I'd rather keep the response as small as possible and support
parameters in order to request more data, I'll try to get something
working...

Paul Tidwell

unread,
Sep 18, 2011, 7:32:21 PM9/18/11
to 8tracks-p...@googlegroups.com
It's not a real big deal, I just noticed it because I have a 'favorite' button next to the tracks that is lit up if you already faved the track. When you look at your own profile, you would expect that they would all be lit up already.  I worked around it by lighting the buttons by default when looking at your own profile.  It means you won't notice you already faved a track when looking at someone else's profile, but I think I can live with that.

Paul Tidwell

unread,
Sep 18, 2011, 8:40:40 PM9/18/11
to 8tracks-p...@googlegroups.com
The total-pages element does seem to be missing from the favorite tracks reply.  I bet that is an easy one to fix.


From: pa...@tetattack.com
To: 8tracks-p...@googlegroups.com
Subject: RE: Faved Tracks
Date: Sun, 18 Sep 2011 16:32:21 -0700

> >> > Hope this works for you, let me know..
Reply all
Reply to author
Forward
0 new messages