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

    (@micropat)

    Point to your Instagram using the AddToAny “follow” widget:
    https://www.addtoany.com/buttons/customize/wordpress/follow_buttons

    Thread Starter nbora

    (@nbora)

    I used the below code for instagram:

    and when I click on instagram icon I get below error:-

    Service Unavailable

    AddToAny does not support the service you are trying to add to. This service may have been removed, or the website you came from is pointing to an invalid service.

    Thread Starter nbora

    (@nbora)

    I am using the below code:-

    <span class=”tag tag-social-icons”>
    <div class=”a2a_kit a2a_kit_size_18 addtoany_list” data-a2a-url=”<?php echo get_permalink($posts_array[0]->ID); ?>” data-a2a-title=”<?php echo $posts_array[0]->post_title; ?>”>

    </div></span>

    I would also like to be able to select a stand alone button for sharing (the page) with Instagram. This button is not available.

    Why? Can something be done about it?

    Henriette.

    Plugin Author micropat

    (@micropat)

    @wp_account_hs there is currently no such thing as link sharing to Instagram (if/when Instagram permits link sharing, AddToAny will appropriately include Instagram among “share” services, too, in addition to the “follow” services).

    If you’re desperate to include an Instagram follow icon among your share icons, see the plugin’s FAQ titled, “How can I add a custom standalone share button?”

    Example PHP code to add to your theme’s functions.php file:

    function addtoany_include_instagram_in_share_services( $services ) {
        $services['instagram_share_service'] = array(
            'name'        => 'My Instagram Profile',
            'icon_url'    => 'https://www.example.com/images/my-instagram-icon.png',
            'icon_width'  => 32,
            'icon_height' => 32,
            'href'        => 'https://www.instagram.com/example/',
        );
        return $services;
    }
    add_filter( 'A2A_SHARE_SAVE_services', 'addtoany_include_instagram_in_share_services', 10, 1 );

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Need social media Instagram also’ is closed to new replies.