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.

Facebook share on Publications?

4 posters

Go down

Solved Facebook share on Publications?

Post by Zordon Wed 13 Sep - 23: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?
Zordon
Zordon
Forumember

Male Posts : 67
Reputation : 2
Language : greek

http://prig.forumgreek.com

Back to top Go down

Solved Re: Facebook share on Publications?

Post by Ape Wed 13 Sep - 23: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
Ape
Ape
Administrator
Administrator

Male Posts : 19357
Reputation : 2006
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: Facebook share on Publications?

Post by Zordon Thu 14 Sep - 12: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
Zordon
Zordon
Forumember

Male Posts : 67
Reputation : 2
Language : greek

http://prig.forumgreek.com

Back to top Go down

Solved Re: Facebook share on Publications?

Post by skouliki Thu 14 Sep - 12:32

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

Female Posts : 15349
Reputation : 1705
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Facebook share on Publications?

Post by Zordon Thu 14 Sep - 17: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

http://prig.forumgreek.com

Back to top Go down

Solved Re: Facebook share on Publications?

Post by Zordon Thu 14 Sep - 17: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
Zordon
Zordon
Forumember

Male Posts : 67
Reputation : 2
Language : greek

http://prig.forumgreek.com

Back to top Go down

Solved Re: Facebook share on Publications?

Post by SLGray Thu 14 Sep - 19: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.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51514
Reputation : 3523
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum