• Hello,

    I am using goo.gl short urls(with googl plugin)
    I changed some code facebook plugin
    it is ok. Works.
    But normally when i share manually a goo.gl link. On facebook Under title url is normal web site url (not goo.gl examp. domain.com)

    But When i share with facebook plugin. Under title url shown goo.gl

    How can i fix it?

    Thanks.

    I changed;
    facebook/admin/social-publisher/social-publisher.php

    OLD code
    $link = apply_filters( ‘facebook_rel_canonical’, get_permalink( $post_id ) );
    New Code
    $link = apply_filters( ‘facebook_rel_canonical’, wp_get_shortlink( $post_id ) );

    https://wordpress.org/plugins/facebook/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘using plugin with goo.gl shortcute’ is closed to new replies.