• Resolved jamminjames

    (@jamminjames)


    How can we eliminate the “thank you for sharing” popup that happens after sharing via Facebook? It only happens with a FB share, that I’ve noticed.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author micropat

    (@micropat)

    To clarify for those passing by: there’s no additional popup; when the Facebook share dialog is opened in a popup, the post-share redirect occurs in the same popup window. There’s no popup when sharing in a tab, for instance.

    Using AddToAny Templates, you can change the value of Facebook’s redirect_uri to empty to have Facebook show a blank page instead and try close the popup when the browser permits.

    Just add the following code to your “Additional JavaScript” box in Settings > AddToAny:

    a2a_config.templates.facebook = {
        redirect_uri: ""
    };

    Important to note: the separate “Facebook Messenger” service requires a valid, non-empty redirect_uri.

    Thread Starter jamminjames

    (@jamminjames)

    That works great, thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to eliminate the “thank you for sharing” Facebook popup’ is closed to new replies.