Permalink
Browse files

fb fix

  • Loading branch information...
1 parent db6833c commit be8312942d5b3a9521d2285787f2401125108ee9 @iplanwebsites committed Mar 29, 2012
Showing with 7 additions and 1 deletion.
  1. +7 −1 web.js
View
@@ -167,12 +167,18 @@ app.post('/posttest', function(req, res){
});
-app.get('/me', function(req, res){
+app.get('/friends', function(req, res){
req.facebook.get('/me/friends', { limit: 4 }, function(friends) {
res.send('friends: ' + require('util').inspect(friends));
});
});
+app.get('/me', function(req, res){
+ req.facebook.get('/me', { }, function(data) {
+ res.send('friends: ' + require('util').inspect(data));
+ });
+});
+
///////////////////////////////////////////////////////////////////
// Geo Location API V1
////////////////////////////////////////////////////////////////

0 comments on commit be83129

Please sign in to comment.