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. #11
    Sencha User
    Join Date
    Apr 2012
    Posts
    2
    Vote Rating
    0
    chanchu is on a distinguished road

      0  

    Default facebook wall posting in sencha touch 2

    facebook wall posting in sencha touch 2


    hi,

    can u please give some sample code for facebook wall posting through sencha touch 2.

  2. #12
    Sencha User
    Join Date
    Sep 2012
    Location
    Kenya
    Posts
    3
    Vote Rating
    0
    muvatech is on a distinguished road

      0  

    Default Facebook oauth error

    Facebook oauth error


    I tried implementing that and i get an error on my console:
    "Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains"

    I am running my app from localhost. I have defined my app domain on facebook with another domai other than localhost since facebook app configuration does not accept localhost as a domain. i have tried uploading the app to the actual domain other than localhost and don't get any error but the page still does not show.
    Please help.

  3. #13
    Sencha User
    Join Date
    Sep 2012
    Location
    Kenya
    Posts
    3
    Vote Rating
    0
    muvatech is on a distinguished road

      0  

    Default


    Hey, @tuansim79. Got something new?

  4. #14
    Sencha User
    Join Date
    Oct 2012
    Posts
    62
    Vote Rating
    0
    sendy is on a distinguished road

      0  

    Default


    Thanks SimonFlack
    I am using your code it works fine for me .but there a bug that I didn't solved it.
    this is a screenshots of what I got.
    Please can you tell me what I must put here : window.location = 'http://www.facebook.com/dialog/oauth?client_id=145849512154270&redirect_uri=http://www.whitefox.no/projects/m.UnivMobile.com/&display=touch&scope=publish_stream';
    and

    window.fbAsyncInit = function() {
    // init the FB JS SDK
    FB.init({
    appId : '136041603241236', // App ID from the App Dashboard
    What should I put here ?????? channelUrl : 'http://www.facebook.com/dialog/oauth? client_id=145849512154270&redirect_uri=http://www.whitefox.no/projects/m.UnivMobile.com/&display=touch&scope=publish_stream', // Channel File for x-domain communication
    status : true, // check the login status upon init?
    cookie : true, // set sessions cookies to allow your server to access the session?
    xfbml : true // parse XFBML tags on this page?
    });


    // Additional initialization code such as adding Event Listeners goes here


    };

    Attached Images

  5. #15
    Sencha User
    Join Date
    Oct 2012
    Posts
    62
    Vote Rating
    0
    sendy is on a distinguished road

      0  

    Default


    Thank you for this solution.I tested it it works fine for me.
    But I have got an error.This is a screen shots:
    When I click on 'OK' button in the top, its fine,but I want to solve this problem.
    This my view :
    Ext.define("UnivMobile.view.Facebook", {
    extend: 'Ext.Panel',
    config: {
    title: "LikeUs",
    layout: 'fit',
    listeners: {
    show: function() {
    What should I change here??//window.location = 'http://www.facebook.com/dialog/oauth?client_id=145849512154270&redirect_uri=http://www.whitefox.no/projects/m.UnivMobile.com/&display=touch&scope=publish_stream';

    window.fbAsyncInit = function() {
    // init the FB JS SDK
    FB.init({
    appId : '136041603241236', // App ID from the App Dashboard
    What should I put here?? //channelUrl : 'http://www.facebook.com/dialog/oauth?client_id=145849512154270&redirect_uri=http://www.whitefox.no/projects/m.UnivMobile.com/&display=touch&scope=publish_stream', // Channel File for x-domain communication
    status : true, // check the login status upon init?
    cookie : true, // set sessions cookies to allow your server to access the session?
    xfbml : true // parse XFBML tags on this page?
    });


    // Additional initialization code such as adding Event Listeners goes here


    };
    (function(d, debug){
    var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0];
    if (d.getElementById(id)) {return;}
    js = d.createElement('script'); js.id = id; js.async = true;
    js.src = "//connect.facebook.net/en_US/all" + (debug ? "/debug" : "") + ".js";
    ref.parentNode.insertBefore(js, ref);
    }(document, /*debug*/ false));


    UnivMobile.facebook.wallPost = function(body){
    FB.api('/me/feed', 'post', { message: body }, function(response) {
    if (!response || response.error) {
    alert('Error occured');
    } else {
    alert('Post ID: ' + response.id);
    }
    });
    }


    }
    }
    });
    This is what I got:
    Screenshots.png

Similar Threads

  1. POST request in Sencha Touch using Ajax
    By sonianand11 in forum Sencha Touch 1.x: Discussion
    Replies: 3
    Last Post: 29 May 2012, 9:23 AM
  2. Sencha Touch + Facebook Graph API
    By djd in forum Sencha Touch 1.x: Discussion
    Replies: 11
    Last Post: 28 Nov 2011, 8:38 AM
  3. Is it possible to integrate Facebook authentication into Sencha Touch
    By directx0000 in forum Sencha Touch 1.x: Discussion
    Replies: 4
    Last Post: 23 Nov 2011, 6:49 AM
  4. I'm confused about GET and POST in Sencha-touch
    By pcr in forum Sencha Touch 1.x: Discussion
    Replies: 4
    Last Post: 19 Jul 2011, 4:44 AM
  5. Not allowed to post on sencha touch forum without license?
    By pokiekokie in forum Community Discussion
    Replies: 1
    Last Post: 3 Feb 2011, 9:45 AM

Thread Participants: 9

Tags for this Thread