The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
4 posters

    Facebook share on Publications?

    Zordon
    Zordon
    Forumember


    Male Posts : 67
    Reputation : 2
    Language : greek

    Solved Facebook share on Publications?

    Post by Zordon Wed 13 Sep - 21:37

    So I saw that facebook share is missing. I tried adding that code on the template
    Code:
    <li><amp-social-share type="facebook" width="40" height="40"></amp-social-share></li>

    but I get this error message
    Facebook share on Publications? A6Gs_QrbRGmFn1Hn2bUl4Q

    Any ideas of how to make it work?
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19435
    Reputation : 2010
    Language : fluent in dork / mumbojumbo & English haha

    Solved Re: Facebook share on Publications?

    Post by Ape Wed 13 Sep - 21:48

    Hello where did you get that code from ?



    Facebook share on Publications? Left1212Facebook share on Publications? Center11Facebook share on Publications? Right112
    Facebook share on Publications? Ape_b110
    Facebook share on Publications? Ape1010
    Zordon
    Zordon
    Forumember


    Male Posts : 67
    Reputation : 2
    Language : greek

    Solved Re: Facebook share on Publications?

    Post by Zordon Thu 14 Sep - 10:27

    I went to Display->Templates->Publications and wrote a similar code to those

    Code:
        <li><amp-social-share type="twitter" width="40" height="40"></amp-social-share></li>
                    <li><amp-social-share type="gplus" width="40" height="40"></amp-social-share></li>
                    <li><amp-social-share type="email" width="40" height="40"></amp-social-share></li>
                    <li><amp-social-share type="pinterest" width="40" height="40"></amp-social-share></li>
                    <li><amp-social-share type="whatsapp" width="40" height="40"></amp-social-share></li>

    But it didn't work. Facebook logo appeared but share doesn't work, I get the error I mentioned
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15391
    Reputation : 1709
    Language : English,Greek
    Location : Greece

    Solved Re: Facebook share on Publications?

    Post by skouliki Thu 14 Sep - 10:32

    hello 
    Do you want to add share buttons or FB plugin?

    Zordon
    Zordon
    Forumember


    Male Posts : 67
    Reputation : 2
    Language : greek

    Solved Re: Facebook share on Publications?

    Post by Zordon Thu 14 Sep - 15:17

    Share button. It would be pretty helpful to just share directly the publications I write to the facebook page of my forum
    Zordon
    Zordon
    Forumember


    Male Posts : 67
    Reputation : 2
    Language : greek

    Solved Re: Facebook share on Publications?

    Post by Zordon Thu 14 Sep - 15:22

    I just figured it out. The correct code is
    Code:
    <li><amp-social-share type="facebook" width="40" height="40" data-param-app_id="254325784911610"></amp-social-share></li>

    Problem solved, you can lock it
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3524
    Language : English
    Location : United States

    Solved Re: Facebook share on Publications?

    Post by SLGray Thu 14 Sep - 17:36

    Thanks for posting the solution.

    Problem solved & topic archived.
    Please read our forum rules: ESF General Rules



    Facebook share on Publications? Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.

      Current date/time is Wed 13 Nov - 17:29