Android Phonegap - implements a similar button

Does anyone know a facebook implementation method, like a button on an application created using a 2.2 phone saver ?? this code for HTML5 does not work:

<div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/es_ES/all.js#xfbml=1&appId=443968115691947"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> <div class="fb-like" data-href="http://www.facebook.com/QueBajeDios" data-send="false" data-layout="button_count" data-width="450" data-show-faces="false"></div> 

It is generated as a button - a developers web page.

And this other for IFRAME also doesn't work:

 <iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2FQueBajeDios&amp;send=false&amp;layout=button_count&amp;width=450&amp;show_faces=false&amp;font&amp;colorscheme=light&amp;action=like&amp;height=21&amp;appId=443968115691947" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:21px;" allowTransparency="true"></iframe> 

I need a link to the well-known methods of this tool ... but I did not find anything on Google ...

thanks a lot

+4
source share
1 answer

You need to use this plugin for Phonegap and Facebook. https://github.com/phonegap/phonegap-facebook-plugin

0
source

All Articles