Active
Project:
Facebook Share
Version:
6.x-1.0
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
8 Nov 2010 at 22:22 UTC
Updated:
8 Nov 2010 at 22:44 UTC
I was wondering if there was a way to have the share button show up only for those posts authored by the current user. That is, with blogs for example, I would be able to send to Facebook not any blog posts on the site, but only those I've written myself.
Comments
Comment #1
deliana commentedI managed to hack it myself by adding the following to facebookshare_nodeapi function in facebookshare.module:
// Show only for current user's posts?
global $user;
if ($node->uid!=$user->uid){
return NULL;
}
But this seems like functionality other users might want.