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 September 13th 2017, 11:37 pm

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

View user profile http://prig.forumgreek.com

Back to top Go down

Solved Re: Facebook share on Publications?

Post by Ape September 13th 2017, 11:48 pm

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? Keep_s10
Facebook share on Publications? Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 18138
Reputation : 1925
Language : fluent in dork / mumbojumbo & English haha

View user profile http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: Facebook share on Publications?

Post by Zordon September 14th 2017, 12:27 pm

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

View user profile http://prig.forumgreek.com

Back to top Go down

Solved Re: Facebook share on Publications?

Post by skouliki September 14th 2017, 12:32 pm

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

Female Posts : 12974
Reputation : 1562
Language : English,Greek
Location : Greece

View user profile http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Facebook share on Publications?

Post by Zordon September 14th 2017, 5:17 pm

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

View user profile http://prig.forumgreek.com

Back to top Go down

Solved Re: Facebook share on Publications?

Post by Zordon September 14th 2017, 5:22 pm

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

View user profile http://prig.forumgreek.com

Back to top Go down

Solved Re: Facebook share on Publications?

Post by SLGray September 14th 2017, 7:36 pm

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 : 50623
Reputation : 3478
Language : English
Location : United States

View user profile 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