Permalink
Browse files

Update README

  • Loading branch information...
michaellavelle committed Mar 22, 2012
1 parent a0d5590 commit c63b53aa0c6e4c452cb433506278964a36743a69
Showing with 5 additions and 4 deletions.
  1. +5 −4 README
View
9 README
@@ -36,10 +36,11 @@ user's connection:
Track firstResult = tracks.getNumberOfElements() > 0 ? tracks.getContent().get(0) : null;
- if (firstResult != null)
- {
- authenticatedSoundCloudApi.meOperations().favoriteTrack(firstResult.getId());
- }
+ if (firstResult != null) {
+
+ authenticatedSoundCloudApi.meOperations().favoriteTrack(firstResult.getId());
+
+ }
As mentioned above the Spring Social framework here is managing the authentication dance - behind the scenes Spring
Social has obtained a SoundCloud session key which is linked to the user's authorisation. Outside of a Spring-Social

0 comments on commit c63b53a

Please sign in to comment.