aboutsummaryrefslogtreecommitdiffstats
path: root/Resources/friendship/core/FacebookFQL.js
diff options
context:
space:
mode:
Diffstat (limited to 'Resources/friendship/core/FacebookFQL.js')
-rw-r--r--Resources/friendship/core/FacebookFQL.js9
1 files changed, 4 insertions, 5 deletions
diff --git a/Resources/friendship/core/FacebookFQL.js b/Resources/friendship/core/FacebookFQL.js
index 7c4e8ca..99d64f6 100644
--- a/Resources/friendship/core/FacebookFQL.js
+++ b/Resources/friendship/core/FacebookFQL.js
@@ -24,16 +24,15 @@
fs.core.handleAllFriendPostsFQL = function(result) {
if (result.success) {
var postsList = JSON.parse(result.result);
-
+
+ /*
Ti.API.info(postsList.length);
Ti.API.info(postsList[0].name);
Ti.API.info(postsList[0].page_id);
Ti.API.info(postsList[0].website);
+ */
- Ti.API.fireEvent("processPosts", postsList);
-
- Ti.API.info("Post fire event.");
-
+ Ti.API.fireEvent("processPosts", {list:postsList});
} else if (result.error) {
//Ti.API.info("ERROR: " + result.error); // TODO: remove
Ti.API.fireEvent("processFQLError", {what:result.error});