Koning Voetbal
Posts: 0
Joined: Thu Feb 27, 2014 2:21 pm

How to get a share or Like button in your app?

Hallo,

Is it possible to get a Facebook Like it or a standard Share it (to get an pop-up to the moblie share-it page) so you make it easy to share your app within the app?

Kind regards,

Arie

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

How to get a share or Like button in your app?

Hello Arie,

Please look at these links, hope they will be useful for you:
https://getsatisfaction.com/apperyio/...
https://getsatisfaction.com/apperyio/...

Koning Voetbal
Posts: 0
Joined: Thu Feb 27, 2014 2:21 pm

How to get a share or Like button in your app?

Hi Evgene,

I have put a HTML component on my page and added the source code in the HTML editor:

code
<div id="fb-root"><>
<script>(function(d, s, id) {
var js, fjs = d&#46;getElementsByTagName(s)[0];
if (d&#46;getElementById(id)) return;
js = d&#46;createElement(s); js&#46;id = id;
js&#46;src = "&#47;&#47;connect&#46;facebook&#46;net/nl_NL/sdk&#46;js#xfbml=1&version=v2&#46;3&quot
fjs&#46;parentNode&#46;insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

<div class="fb-like" data-href="http:&#47;&#47;www&#46;android&#46;com" data-layout="box_count" data-action="like" data-show-faces="true" data-share="true"><>
/code

But I only see the Share button When I test the app in my browser but when I want to test it in Appery.io Tester, I don't see anything.

Any idea what goed wrong?

Kind regards,

Arie

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

How to get a share or Like button in your app?

Hi Arie -

Please check reply from Yuri here: https://getsatisfaction.com/apperyio/...

Koning Voetbal
Posts: 0
Joined: Thu Feb 27, 2014 2:21 pm

How to get a share or Like button in your app?

Hi,

I set "Render all pages in one HTML file" but that doesn't make it show on a mobile device in the Appery Tester.

Any idea what goes wrong?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

How to get a share or Like button in your app?

The solution you're trying to use is for websites hosted on domains, not for web app or stand alone app.

Koning Voetbal
Posts: 0
Joined: Thu Feb 27, 2014 2:21 pm

How to get a share or Like button in your app?

Ok, that's make it clear why it isn't working in my app ;-)

But the great question is offcourse ........... how do I get a share button of Facebook or Twitter in my app using Appery?

Return to “Issues”