Skip to content

Commit

Permalink
Adds function to backpack controller for Facebook sharing.
Browse files Browse the repository at this point in the history
  • Loading branch information
davelester committed Mar 13, 2013
1 parent 8c4fcaa commit 4bdb4d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controllers/backpack.js
Expand Up @@ -430,6 +430,7 @@ exports.facebookSharing = function (request, response, callback) {
var user = request.user;

fb.publishBadge(accessToken, badgeBodyHash, userId, function(error, response) {

if (error) {
request.flash('error', 'There was an error sharing your badge on Facebook.');
} else {
Expand Down

0 comments on commit 4bdb4d5

Please sign in to comment.