• Resolved miriamswan

    (@miriamswan)


    I am looking a plugin to display the feed, was considering your plugin and before I use it, got a few questions and would appreciate if you could clarify the following points for me.
    The description of the plugin it is possible to display multiple Instagram feed and there is an option to add a follow on instagram Button.
    The question is, if a user submits the button, will he be following both accounts or is there a way to add 2 buttons?

    The second question, do the accounts need to be public? If one of them is private, will it be a problem?

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Author Craig at Smash Balloon

    (@craig-at-smash-balloon)

    Hey miriamswan,

    Some answers here:

    if a user submits the button, will he be following both accounts or is there a way to add 2 buttons?
    You can add a second “Follow” button with some JavaScript added to the “Custom JavaScript” area on the “Customize” tab. Use the code below. You can change the “puma” text to the account you want the button to link to and the “Follow on Instagram” part to be something specific to the account

      if (! $('.sbi_follow_btn.sbi_extra').length) {
        $('#sbi_load').append('<div class="sbi_follow_btn sbi_extra"><a href="https://instagram.com/puma" style="" target="_blank"><svg class="svg-inline--fa fa-instagram fa-w-14" aria-hidden="true" data-fa-processed="" data-prefix="fab" data-icon="instagram" role="img" xmlns="https://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"></path></svg>Follow on Instagram</a></div>');
      }

    do the accounts need to be public? If one of them is private, will it be a problem?
    No you will need access tokens for both accounts so the public/private setting won’t matter.

    Let me know if you have more questions!

    – Craig

Viewing 1 replies (of 1 total)
  • The topic ‘2 follow buttons’ is closed to new replies.