The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Facebook share on Publications?

View previous topic View next topic Go down

Solved Facebook share on Publications?

Post by Zordon on 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


Any ideas of how to make it work?
avatar
Zordon
Forumember

Male Posts : 25
Reputation : 0
Language : greek

http://powerrangers.forumgreek.com/

Back to top Go down

Solved Re: Facebook share on Publications?

Post by APE on September 13th 2017, 11:48 pm

Hello where did you get that code from ?



avatar
APE
Manager
Manager

Male Posts : 10681
Reputation : 997
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

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

Back to top Go down

Solved Re: Facebook share on Publications?

Post by Zordon on 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
avatar
Zordon
Forumember

Male Posts : 25
Reputation : 0
Language : greek

http://powerrangers.forumgreek.com/

Back to top Go down

Solved Re: Facebook share on Publications?

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

hello
Do you want to add share buttons or FB plugin?
avatar
skouliki
Graphic Designer
Graphic Designer

Female Posts : 2904
Reputation : 441
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Facebook share on Publications?

Post by Zordon on 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
avatar
Zordon
Forumember

Male Posts : 25
Reputation : 0
Language : greek

http://powerrangers.forumgreek.com/

Back to top Go down

Solved Re: Facebook share on Publications?

Post by Zordon on 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
avatar
Zordon
Forumember

Male Posts : 25
Reputation : 0
Language : greek

http://powerrangers.forumgreek.com/

Back to top Go down

Solved Re: Facebook share on Publications?

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

Thanks for posting the solution.

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


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

avatar
SLGray
Administrator
Administrator

Male Posts : 40222
Reputation : 2716
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


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