I am using AddToAny on certain content types, Basic Page and Article (which are shown in a view that has the AddToAny field widget). Regardless of whether it's a view or a node, the FaceBook link isn't working quite right.

All of the services except for FaceBook appear to work correctly and share the article URL. However the Facebook link just shares the root domain and the description of the site itself, nothing specific to the article or page you are on.

Is there a configuration step I'm missing or perhaps some compatibility issues somewhere? Any help is appreciated.

Comments

TelFiRE’s picture

Same here, uninstalled and reinstalled many times and it happens no matter what version I use. All the others work but Facebook just shares the home page.

cajinx’s picture

Priority: Normal » Major

I am having the same issue- no matter what I share from internal articles- only the main url gets shared, not the specific article or content I wan to share. I tried all different custom configs from the author homepage- but everything still shares the root URL. Help please! This is a big issue to my client who hosts a magazine and wants to have viewers share specific article content. Using version 7x-4.0

cajinx’s picture

Priority: Major » Critical

Using developer tools in Mozilla I am getting a "FB code error" saying the FB code has been deprecated... So I am wondering if FB has changed it's code to share again. I poked around in the module- but I dont see any code that looks like the new FB share link developer code. Hoping somebody with more knowledge can take a look and see what needs to be patched or tweaked.

Love this module- but when FB link isnt working, then I might have to switch to a different mod- anybody got suggestions or ideas??

Taxoman’s picture

Category: support » bug
micropat’s picture

Category: Bug report » Support request
Priority: Critical » Normal
Issue summary: View changes
Status: Active » Closed (works as designed)

This type of issue is between Facebook and your site's HTML meta tags. AddToAny just passes the URL to Facebook, which it's doing successfully. See AddToAny's FAQ on Facebook sharing:
https://www.addtoany.com/buttons/faq/#facebook

Fixing this in Drupal usually involves theme modification, or a module that implements Open Graph meta tags for Facebook, and other services such as Google+, LinkedIn, etc.

Test your URLs (and site changes) using Facebook's debugger here:
https://developers.facebook.com/tools/debug/