Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User
    Join Date
    Jul 2012
    Vote Rating
    manoveg is on a distinguished road


    Default Unanswered: Facebook like button in sencha touch 1.1

    Unanswered: Facebook like button in sencha touch 1.1

    Hi I am new to Sencha Touch.
    I have to integrate facebook like button in sencha touch.
    I used the code below and I am able to get facebbok like plugin to display but I want an xtype button with label facebook to do the functionality that is currently done by like plugin of facebook from the code below.
    Please advice whether it is possible and if yes how.

     Ext.define('Main.view.LikeUs', {
        extend: 'Ext.Panel',
        config: {
            title: "LikeUs",
            layout: 'fit',
        listeners: {
                show: function() {                
                        window.fbAsyncInit = function() {
                FB.init({appId: '0123456789123456', status: true, cookie: true,xfbml: true});
            (function() {
                var e = document.createElement('script');
                e.type = 'text/javascript';
                e.src = document.location.protocol + '//';
                e.async = true;
            items: [{
                xtype: 'container',
                html: '<div id="fb-login-button"><fb:like align="right" href="" layout="button_count"></fb:like></div><div id="fb-root"></div>',            
    and I want to do the same for twitter.

  2. #2
    Sencha - Community Support Team sword-it's Avatar
    Join Date
    May 2012
    Vote Rating
    sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough




    You are not allowed legally to modify FB like button.
    Also check the Facebook Usage Guidelines , under the Facebook Like Button section (Usage tab):
    While you may scale the size to suit your needs, you may not modify the Like Button in any other way (such as by changing the design).

    or if you still want to do this, you may take a look a sample here,

    but i am agree with the warning about legal issues. You shouldn't really do this., Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

Thread Participants: 1

Tags for this Thread