Hybrid View

  1. #1
    Sencha User
    Join Date
    Mar 2011
    Posts
    8
    Vote Rating
    0
    bendixso is on a distinguished road

      0  

    Default Post to Facebook wall from Sencha Touch App?

    Post to Facebook wall from Sencha Touch App?


    I've been trying to get this to work for a few weeks now, and I'm totally stuck. I've got a Sencha Touch app for snowboarders that generates a random line of tricks to try on some jumps. I want to have a button they can press to publish the tricks they just landed on their Facebook wall.

    Here's a screenshot from the app:


    The Facebook sharing button will go at the bottom, and that's where I'm having my problems. I'm using the FB.Connect.streamPublish() function, but it isn't prompting the user with anything.

    Some code for that:
    Code:
    var fbShare = function(){
    			
    			var message = '... just stomped ' + trickArray[1].trickString + 'to ' + trickArray[2].trickString + 'to ' + trickArray[3].trickString + 'with Snow Dice: Snowboarding';
    			
    			var attachment = {
    				'name' : 'Snow Dice: Snowboarding',
    				'href' : 'http://www.snowdiceapp.com/blog',
    				'description' : 'stomping new lines with Snow Dice App',
    				"media" : [{"type":"image","src":"http://www.snowdiceapp.com/blog"}]
    			}
    			
    			FB.Connect.streamPublish(message,attachment);
    			
    		};
    Does anyone know:
    1.) Where I should call FB.Connect.streamPublish() ?
    2.) Do I need to put all of this into some other panel for it to work?
    3.) If I need to put this into some other panel, how might I do that?

    Does anyone have:
    1.) A working Sencha Touch example where you post someone's Facebook wall?

    If so, that would be amazing. I really have no idea where to go from here.

    Thanks everyone,
    -Ted Bendixson

  2. #2
    Sencha User
    Join Date
    Mar 2011
    Posts
    8
    Vote Rating
    0
    bendixso is on a distinguished road

      0  

    Default Anybody there?

    Anybody there?


    Really? Nobody has tried to do this before?

  3. #3
    Sencha User
    Join Date
    Jul 2007
    Posts
    14
    Vote Rating
    0
    m_sassa is on a distinguished road

      0  

    Default


    any news about this? i have the same problem ...

  4. #4
    Sencha User
    Join Date
    Aug 2011
    Posts
    1
    Vote Rating
    0
    rashers is on a distinguished road

      0  

    Default Bumping this also

    Bumping this also


    Someone has to have tried to do FB integration through Sencha Touch before?

  5. #5
    Sencha User
    Join Date
    Jul 2011
    Posts
    4
    Vote Rating
    0
    keshav.jha@hemantech.com is on a distinguished road

      0  

    Default any news

    any news


    any news. I have the same problem

  6. #6
    Touch Premium Member lylepratt's Avatar
    Join Date
    Dec 2010
    Location
    Austin, Texas
    Posts
    159
    Vote Rating
    0
    lylepratt is on a distinguished road

      0  

    Default


    You'll probably have to write a server side proxy to handle Facebook interaction.
    Twitter: lylepratt

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

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar