Is there any way to hide the link for Facebook Comments Plugin? Is there a reason that it needs to be displayed?

Comments

capysara created an issue. See original summary.

  • wmostrey committed d7712be on 7.x-1.x
    Issue #2838979 by wmostrey: Facebook Comments Plugin link
    
wmostrey’s picture

Version: 7.x-1.0-beta5 » 7.x-1.x-dev

You're right, and with the fix added in beta5 the link would also be displayed to users that don't have permission to view it. Thank you for bringing it up, and thank you for beta testing!

Fixed in 7.x-1.x-dev.

wmostrey’s picture

Status: Active » Fixed
capysara’s picture

Thanks for the quick response! I just tried using the dev version, but I'm still seeing the link. I think we might be talking about two different things.

I'm referring to the link that takes you to: https://developers.facebook.com/docs/plugins/comments/

wmostrey’s picture

Are you referring to the link that's on the project page of this module, https://www.drupal.org/project/facebook_comments?

capysara’s picture

StatusFileSize
new19.37 KB

It's the same link, but no, I'm referring to the link that appears below the comments on my site.

wmostrey’s picture

Thank you for the screenshot. That link comes from the Facebook script itself, it's not in the module's code.

You might be able to hide it using some css but that would hardly be a clean solution (and I'm no css expert).

wmostrey’s picture

Small update: you can use the following css code to hide the link:

http://stackoverflow.com/questions/4870082/how-to-remove-the-facebook-so...

As mentioned in the answers, it is advised not to do this though.

wmostrey’s picture

capysara’s picture

Thanks! That's just what I was looking for: (https://developers.facebook.com/policy/): "You give us the right to link to or frame your app, and place content, including ads, around your app. If you use our social plugins, feed dialog or share button, you also give us permission to use and allow others to use such links and content on Facebook."

I doesn't explicitly say you CAN'T hide it, but it's probably not a good idea.

wmostrey’s picture

It's more specific in the Platform Policy:

4. Don’t obscure or cover elements of social plugins.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.