Using Open Graph API, can I see when users Add To Playlist or Star tracks in Spotify?
How would I access when a user (and a friend of a user) adds a song to a playlist, or stars a song in Spotify, Rdio etc?
facebook-graph-api spotify facebook-opengraph
add a comment |
How would I access when a user (and a friend of a user) adds a song to a playlist, or stars a song in Spotify, Rdio etc?
facebook-graph-api spotify facebook-opengraph
add a comment |
How would I access when a user (and a friend of a user) adds a song to a playlist, or stars a song in Spotify, Rdio etc?
facebook-graph-api spotify facebook-opengraph
How would I access when a user (and a friend of a user) adds a song to a playlist, or stars a song in Spotify, Rdio etc?
facebook-graph-api spotify facebook-opengraph
facebook-graph-api spotify facebook-opengraph
edited Dec 30 '18 at 23:08
Matthieu Brucher
15.3k32140
15.3k32140
asked Sep 24 '11 at 16:02
Jordan FeldsteinJordan Feldstein
6,10184074
6,10184074
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
http://graph.facebook.com/me/music.listens
http://graph.facebook.com/me/music.playlists
You have to get the user_actions.music
permission before you can read those.
Does this actually work yet? adding those permissions to "scope" returns an error, and adding to "perms" as the referenced example does doesn't seem to do anything (no new auth dialog and music.listens returns empty collection). Is there some other necessary piece?
– Geoff Chappell
Sep 27 '11 at 12:37
This is not live to users yet, only developers until Timeline launches.
– Paul Tarjan
Sep 27 '11 at 18:55
1
Thanks....but what does that mean exactly? I'm a developer, use the developer app (and so see timeline), but can't get this to work. Is it being specifically enabled/whitelisted for certain apps? I'm happy to wait it out and assume that it will start working at some point, but if there's something I could do now - or if I'm doing something wrong - I'd love to know.
– Geoff Chappell
Sep 27 '11 at 22:35
I would also like to see additional documentation about this.
– Dan Healy
Oct 18 '11 at 21:46
1
As asked in the original question- how do you get listens for friends and friends of friends (FQL?)?
– John Oleynik
Dec 14 '11 at 4:16
add a comment |
The correct permissions is user_actions:music, not a dot.
- user_actions:music
- user_actions:video
- user_actions:news
http://graph.facebook.com/me/music.listens
http://graph.facebook.com/me/music.playlists
Those 2 endpoints still returns empty arrays.
This is right, vote up!
– Dan Healy
Oct 18 '11 at 21:53
The colon indicates 'global' and the '.' is a delimeter between app namespace and action type (i.emusic:listens
refers to global listens of music (i.e Spotify, Deezer, Rdio,etc) -music.listens
refers to 'listens' actions registered to 'apps.facebook.com/music'
– Igy
Nov 5 '11 at 8:55
@Igy it is actually the inverse. developers.facebook.com/docs/beta/authentication/read
– Paul Tarjan
Nov 7 '11 at 1:16
facepalm thanks; not sure how i got it not only wrong, but COMPLETELY wrong
– Igy
Nov 7 '11 at 8:47
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f7540124%2fusing-open-graph-api-can-i-see-when-users-add-to-playlist-or-star-tracks-in-spo%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
http://graph.facebook.com/me/music.listens
http://graph.facebook.com/me/music.playlists
You have to get the user_actions.music
permission before you can read those.
Does this actually work yet? adding those permissions to "scope" returns an error, and adding to "perms" as the referenced example does doesn't seem to do anything (no new auth dialog and music.listens returns empty collection). Is there some other necessary piece?
– Geoff Chappell
Sep 27 '11 at 12:37
This is not live to users yet, only developers until Timeline launches.
– Paul Tarjan
Sep 27 '11 at 18:55
1
Thanks....but what does that mean exactly? I'm a developer, use the developer app (and so see timeline), but can't get this to work. Is it being specifically enabled/whitelisted for certain apps? I'm happy to wait it out and assume that it will start working at some point, but if there's something I could do now - or if I'm doing something wrong - I'd love to know.
– Geoff Chappell
Sep 27 '11 at 22:35
I would also like to see additional documentation about this.
– Dan Healy
Oct 18 '11 at 21:46
1
As asked in the original question- how do you get listens for friends and friends of friends (FQL?)?
– John Oleynik
Dec 14 '11 at 4:16
add a comment |
http://graph.facebook.com/me/music.listens
http://graph.facebook.com/me/music.playlists
You have to get the user_actions.music
permission before you can read those.
Does this actually work yet? adding those permissions to "scope" returns an error, and adding to "perms" as the referenced example does doesn't seem to do anything (no new auth dialog and music.listens returns empty collection). Is there some other necessary piece?
– Geoff Chappell
Sep 27 '11 at 12:37
This is not live to users yet, only developers until Timeline launches.
– Paul Tarjan
Sep 27 '11 at 18:55
1
Thanks....but what does that mean exactly? I'm a developer, use the developer app (and so see timeline), but can't get this to work. Is it being specifically enabled/whitelisted for certain apps? I'm happy to wait it out and assume that it will start working at some point, but if there's something I could do now - or if I'm doing something wrong - I'd love to know.
– Geoff Chappell
Sep 27 '11 at 22:35
I would also like to see additional documentation about this.
– Dan Healy
Oct 18 '11 at 21:46
1
As asked in the original question- how do you get listens for friends and friends of friends (FQL?)?
– John Oleynik
Dec 14 '11 at 4:16
add a comment |
http://graph.facebook.com/me/music.listens
http://graph.facebook.com/me/music.playlists
You have to get the user_actions.music
permission before you can read those.
http://graph.facebook.com/me/music.listens
http://graph.facebook.com/me/music.playlists
You have to get the user_actions.music
permission before you can read those.
edited Nov 7 '11 at 1:14
answered Sep 24 '11 at 19:00
Paul TarjanPaul Tarjan
24k49149203
24k49149203
Does this actually work yet? adding those permissions to "scope" returns an error, and adding to "perms" as the referenced example does doesn't seem to do anything (no new auth dialog and music.listens returns empty collection). Is there some other necessary piece?
– Geoff Chappell
Sep 27 '11 at 12:37
This is not live to users yet, only developers until Timeline launches.
– Paul Tarjan
Sep 27 '11 at 18:55
1
Thanks....but what does that mean exactly? I'm a developer, use the developer app (and so see timeline), but can't get this to work. Is it being specifically enabled/whitelisted for certain apps? I'm happy to wait it out and assume that it will start working at some point, but if there's something I could do now - or if I'm doing something wrong - I'd love to know.
– Geoff Chappell
Sep 27 '11 at 22:35
I would also like to see additional documentation about this.
– Dan Healy
Oct 18 '11 at 21:46
1
As asked in the original question- how do you get listens for friends and friends of friends (FQL?)?
– John Oleynik
Dec 14 '11 at 4:16
add a comment |
Does this actually work yet? adding those permissions to "scope" returns an error, and adding to "perms" as the referenced example does doesn't seem to do anything (no new auth dialog and music.listens returns empty collection). Is there some other necessary piece?
– Geoff Chappell
Sep 27 '11 at 12:37
This is not live to users yet, only developers until Timeline launches.
– Paul Tarjan
Sep 27 '11 at 18:55
1
Thanks....but what does that mean exactly? I'm a developer, use the developer app (and so see timeline), but can't get this to work. Is it being specifically enabled/whitelisted for certain apps? I'm happy to wait it out and assume that it will start working at some point, but if there's something I could do now - or if I'm doing something wrong - I'd love to know.
– Geoff Chappell
Sep 27 '11 at 22:35
I would also like to see additional documentation about this.
– Dan Healy
Oct 18 '11 at 21:46
1
As asked in the original question- how do you get listens for friends and friends of friends (FQL?)?
– John Oleynik
Dec 14 '11 at 4:16
Does this actually work yet? adding those permissions to "scope" returns an error, and adding to "perms" as the referenced example does doesn't seem to do anything (no new auth dialog and music.listens returns empty collection). Is there some other necessary piece?
– Geoff Chappell
Sep 27 '11 at 12:37
Does this actually work yet? adding those permissions to "scope" returns an error, and adding to "perms" as the referenced example does doesn't seem to do anything (no new auth dialog and music.listens returns empty collection). Is there some other necessary piece?
– Geoff Chappell
Sep 27 '11 at 12:37
This is not live to users yet, only developers until Timeline launches.
– Paul Tarjan
Sep 27 '11 at 18:55
This is not live to users yet, only developers until Timeline launches.
– Paul Tarjan
Sep 27 '11 at 18:55
1
1
Thanks....but what does that mean exactly? I'm a developer, use the developer app (and so see timeline), but can't get this to work. Is it being specifically enabled/whitelisted for certain apps? I'm happy to wait it out and assume that it will start working at some point, but if there's something I could do now - or if I'm doing something wrong - I'd love to know.
– Geoff Chappell
Sep 27 '11 at 22:35
Thanks....but what does that mean exactly? I'm a developer, use the developer app (and so see timeline), but can't get this to work. Is it being specifically enabled/whitelisted for certain apps? I'm happy to wait it out and assume that it will start working at some point, but if there's something I could do now - or if I'm doing something wrong - I'd love to know.
– Geoff Chappell
Sep 27 '11 at 22:35
I would also like to see additional documentation about this.
– Dan Healy
Oct 18 '11 at 21:46
I would also like to see additional documentation about this.
– Dan Healy
Oct 18 '11 at 21:46
1
1
As asked in the original question- how do you get listens for friends and friends of friends (FQL?)?
– John Oleynik
Dec 14 '11 at 4:16
As asked in the original question- how do you get listens for friends and friends of friends (FQL?)?
– John Oleynik
Dec 14 '11 at 4:16
add a comment |
The correct permissions is user_actions:music, not a dot.
- user_actions:music
- user_actions:video
- user_actions:news
http://graph.facebook.com/me/music.listens
http://graph.facebook.com/me/music.playlists
Those 2 endpoints still returns empty arrays.
This is right, vote up!
– Dan Healy
Oct 18 '11 at 21:53
The colon indicates 'global' and the '.' is a delimeter between app namespace and action type (i.emusic:listens
refers to global listens of music (i.e Spotify, Deezer, Rdio,etc) -music.listens
refers to 'listens' actions registered to 'apps.facebook.com/music'
– Igy
Nov 5 '11 at 8:55
@Igy it is actually the inverse. developers.facebook.com/docs/beta/authentication/read
– Paul Tarjan
Nov 7 '11 at 1:16
facepalm thanks; not sure how i got it not only wrong, but COMPLETELY wrong
– Igy
Nov 7 '11 at 8:47
add a comment |
The correct permissions is user_actions:music, not a dot.
- user_actions:music
- user_actions:video
- user_actions:news
http://graph.facebook.com/me/music.listens
http://graph.facebook.com/me/music.playlists
Those 2 endpoints still returns empty arrays.
This is right, vote up!
– Dan Healy
Oct 18 '11 at 21:53
The colon indicates 'global' and the '.' is a delimeter between app namespace and action type (i.emusic:listens
refers to global listens of music (i.e Spotify, Deezer, Rdio,etc) -music.listens
refers to 'listens' actions registered to 'apps.facebook.com/music'
– Igy
Nov 5 '11 at 8:55
@Igy it is actually the inverse. developers.facebook.com/docs/beta/authentication/read
– Paul Tarjan
Nov 7 '11 at 1:16
facepalm thanks; not sure how i got it not only wrong, but COMPLETELY wrong
– Igy
Nov 7 '11 at 8:47
add a comment |
The correct permissions is user_actions:music, not a dot.
- user_actions:music
- user_actions:video
- user_actions:news
http://graph.facebook.com/me/music.listens
http://graph.facebook.com/me/music.playlists
Those 2 endpoints still returns empty arrays.
The correct permissions is user_actions:music, not a dot.
- user_actions:music
- user_actions:video
- user_actions:news
http://graph.facebook.com/me/music.listens
http://graph.facebook.com/me/music.playlists
Those 2 endpoints still returns empty arrays.
answered Oct 17 '11 at 9:43
Jeremy SelierJeremy Selier
1113
1113
This is right, vote up!
– Dan Healy
Oct 18 '11 at 21:53
The colon indicates 'global' and the '.' is a delimeter between app namespace and action type (i.emusic:listens
refers to global listens of music (i.e Spotify, Deezer, Rdio,etc) -music.listens
refers to 'listens' actions registered to 'apps.facebook.com/music'
– Igy
Nov 5 '11 at 8:55
@Igy it is actually the inverse. developers.facebook.com/docs/beta/authentication/read
– Paul Tarjan
Nov 7 '11 at 1:16
facepalm thanks; not sure how i got it not only wrong, but COMPLETELY wrong
– Igy
Nov 7 '11 at 8:47
add a comment |
This is right, vote up!
– Dan Healy
Oct 18 '11 at 21:53
The colon indicates 'global' and the '.' is a delimeter between app namespace and action type (i.emusic:listens
refers to global listens of music (i.e Spotify, Deezer, Rdio,etc) -music.listens
refers to 'listens' actions registered to 'apps.facebook.com/music'
– Igy
Nov 5 '11 at 8:55
@Igy it is actually the inverse. developers.facebook.com/docs/beta/authentication/read
– Paul Tarjan
Nov 7 '11 at 1:16
facepalm thanks; not sure how i got it not only wrong, but COMPLETELY wrong
– Igy
Nov 7 '11 at 8:47
This is right, vote up!
– Dan Healy
Oct 18 '11 at 21:53
This is right, vote up!
– Dan Healy
Oct 18 '11 at 21:53
The colon indicates 'global' and the '.' is a delimeter between app namespace and action type (i.e
music:listens
refers to global listens of music (i.e Spotify, Deezer, Rdio,etc) - music.listens
refers to 'listens' actions registered to 'apps.facebook.com/music'– Igy
Nov 5 '11 at 8:55
The colon indicates 'global' and the '.' is a delimeter between app namespace and action type (i.e
music:listens
refers to global listens of music (i.e Spotify, Deezer, Rdio,etc) - music.listens
refers to 'listens' actions registered to 'apps.facebook.com/music'– Igy
Nov 5 '11 at 8:55
@Igy it is actually the inverse. developers.facebook.com/docs/beta/authentication/read
– Paul Tarjan
Nov 7 '11 at 1:16
@Igy it is actually the inverse. developers.facebook.com/docs/beta/authentication/read
– Paul Tarjan
Nov 7 '11 at 1:16
facepalm thanks; not sure how i got it not only wrong, but COMPLETELY wrong
– Igy
Nov 7 '11 at 8:47
facepalm thanks; not sure how i got it not only wrong, but COMPLETELY wrong
– Igy
Nov 7 '11 at 8:47
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f7540124%2fusing-open-graph-api-can-i-see-when-users-add-to-playlist-or-star-tracks-in-spo%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown