diff --git a/SoundStorage/callback.html b/callback.html similarity index 100% rename from SoundStorage/callback.html rename to callback.html diff --git a/SoundStorage/connect.js b/connect.js similarity index 78% rename from SoundStorage/connect.js rename to connect.js index cbe7624..a01a551 100644 --- a/SoundStorage/connect.js +++ b/connect.js @@ -1,10 +1,10 @@ SC.initialize({ client_id: 'ada2ef9470a5b24e4858550357ca9a5b', - redirect_uri: 'http://external.codecademy.com/soundcloud.html' - + redirect_uri: 'http://jiajames.github.io/HackIllinois/callback.html' + }); - + $(document).ready(function() { $('a.connect').click(function(e) { e.preventDefault(); @@ -15,4 +15,3 @@ $(document).ready(function() { }); }); }); - diff --git a/index.html b/index.html index 600fa5c..c26535c 100644 --- a/index.html +++ b/index.html @@ -15,6 +15,8 @@ alert("Error: " + error.message); }else{ alert("You are now following " + user.username); + + } }); }); @@ -23,5 +25,22 @@ Hello! + + + \ No newline at end of file diff --git a/SoundStorage/register.png b/register.png similarity index 100% rename from SoundStorage/register.png rename to register.png diff --git a/SoundStorage/upload.png b/upload.png similarity index 100% rename from SoundStorage/upload.png rename to upload.png