Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When I share a page to facebook using addtoany, automatically a link to the AddToAny website is shown on my post (see attachment)
Is there a way to remove this?
thanks,
Jan
Comment | File | Size | Author |
---|---|---|---|
#3 | Schermafbeelding 2017-12-19 om 11.41.17.png | 55.94 KB | jan@sevendays |
add to any facebook link.jpg | 107.91 KB | jan@sevendays |
Comments
Comment #2
micropat CreditAttribution: micropat commentedFacebook forces that with their official "app" endpoint.
With AddToAny Templates, you can switch to Facebook's old endpoint by setting the
app_id
to''
. [Edit: Updated the string value to be empty instead of0
.]Just add the above code to your "Additional JavaScript" box in Configuration > Web services > AddToAny > Additional Options.
Note: Facebook doesn’t document the old endpoint, nor provide all the parameters of the new one, so keep that in mind if/when you go to change Facebook parameters in the future.
Comment #3
jan@sevendays CreditAttribution: jan@sevendays commentedDear micropat,
thanks for your input, but it doesn't seem to be working...
I get errorr message, saying the app id is invalid...
see printscreen in attachment.
Any idea what I'm doing wrong?
thx
Comment #4
micropat CreditAttribution: micropat commentedYou're right, my mistake. I believe
'0'
was working last week, but what you want now is an empty string (''
):Comment #5
jan@sevendays CreditAttribution: jan@sevendays commentedThanks!
works perfectly now!