From 357e4337fccfb6540a36c45c71f6e01ddd2fcba5 Mon Sep 17 00:00:00 2001 From: NimaVaziri Date: Sun, 20 Jan 2013 22:34:34 -0500 Subject: [PATCH 1/5] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index d46bad7..b36b886 100644 --- a/README.md +++ b/README.md @@ -8,3 +8,7 @@ Enhances navigation throughout Facebook simply through command prompts from the Currently under development. ==================================== + +Install the extension from http://bit.ly/WarSha + +Once installed, go to the address bar and type "fb help" to see the operable commands :) From 419076724961947c77b6c2cd74a8edca8d34c9f1 Mon Sep 17 00:00:00 2001 From: NimaVaziri Date: Mon, 21 Jan 2013 13:34:27 -0500 Subject: [PATCH 2/5] You can look at your friends' timelines directly --- background.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/background.js b/background.js index 660f194..3140654 100755 --- a/background.js +++ b/background.js @@ -113,6 +113,7 @@ it will redirect to your own page. \ makeCommand("msg", function() {redirect("https://www.facebook.com/messages/", "https://www.facebook.com/messages/"+data)}); makeCommand("groups", function() {redirect("https://www.facebook.com/bookmarks/groups", undefined)}); makeCommand("apps", function() {redirect("https://www.facebook.com/bookmarks/apps", undefined)}); + makeCommand("timeline", function() {redirect("https://www.facebook.com/me/friends", "https://www.facebook.com/"+data)}); makeCommand("friends", function() {redirect("https://www.facebook.com/me/friends", "https://www.facebook.com/"+data+"/friends")}); makeCommand("gender", function() {alert(findField('gender',data))}); makeCommand("id", function() {alert(findField('id',data))}); @@ -139,4 +140,4 @@ it will redirect to your own page. \ checkCommands(); -}); \ No newline at end of file +}); From 5b9b70564bf60b4314e5b938055c272e4ac505e2 Mon Sep 17 00:00:00 2001 From: NimaVaziri Date: Sat, 1 Jun 2013 17:41:26 -0300 Subject: [PATCH 3/5] Update background.js --- background.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/background.js b/background.js index 3140654..e6d3d89 100755 --- a/background.js +++ b/background.js @@ -1,5 +1,5 @@ /* background.js - * author: Liam Horne + * author: Liam Horne, Nima Vaziri * project: fbplus * */ From c0a47288353b02b94abdfbb3413f90de41f3820e Mon Sep 17 00:00:00 2001 From: NimaVaziri Date: Sun, 23 Jun 2013 21:30:26 -0400 Subject: [PATCH 4/5] Keeps track of user updates in localStorage --- auth.js | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/auth.js b/auth.js index 2581789..922014c 100644 --- a/auth.js +++ b/auth.js @@ -12,11 +12,17 @@ * the getUserData function. * */ +/* +This function basically checks if the user is new to the app or not +If he/she isn't, then initiates data retreival +However, it doesn't work when user has updated his/her info i.e. added friends because localStorage +has stored data (which is why it's undefined) but doesn't have the new data function checkUserData() { if (localStorage['userData'] == undefined) { +*/ getUserData(); - } -} +//} +//} @@ -90,4 +96,4 @@ function getUserData() { } -checkUserData(); \ No newline at end of file +checkUserData(); From 609923076614e24db96440c36a701d1a684be8b5 Mon Sep 17 00:00:00 2001 From: NimaVaziri Date: Mon, 8 Jul 2013 23:56:19 -0400 Subject: [PATCH 5/5] Updated permissions - ask for write access --- auth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth.js b/auth.js index 922014c..f11e719 100644 --- a/auth.js +++ b/auth.js @@ -44,7 +44,7 @@ function getUserData() { * variable. Check the Facebook Graph Explorer to figure out what privary * requests you need to make. */ - var scope = "read_stream,offline_access"; + var scope = "read_stream,offline_access, publish_stream"; var validate_url = "https://graph.facebook.com/oauth/authorize?type=user_agent&client_id=478063252251631&redirect_uri=https://obscure-reaches-7009.herokuapp.com/&scope=" + scope; var accessToken = "";