Hybrid View
-
26 Apr 2011 6:45 AM #1
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:
Does anyone know: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); };
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
-
5 May 2011 7:24 AM #2
Anybody there?
Anybody there?
Really? Nobody has tried to do this before?
-
9 May 2011 1:00 PM #3
any news about this? i have the same problem ...
-
26 Aug 2011 1:01 AM #4
Bumping this also
Bumping this also
Someone has to have tried to do FB integration through Sencha Touch before?
-
9 Sep 2011 12:31 AM #5
any news
any news
any news. I have the same problem
-
9 Sep 2011 6:13 AM #6
You'll probably have to write a server side proxy to handle Facebook interaction.
Twitter: lylepratt
Similar Threads
-
POST request in Sencha Touch using Ajax
By sonianand11 in forum Sencha Touch 1.x: DiscussionReplies: 3Last Post: 29 May 2012, 9:23 AM -
Sencha Touch + Facebook Graph API
By djd in forum Sencha Touch 1.x: DiscussionReplies: 11Last Post: 28 Nov 2011, 8:38 AM -
Is it possible to integrate Facebook authentication into Sencha Touch
By directx0000 in forum Sencha Touch 1.x: DiscussionReplies: 4Last Post: 23 Nov 2011, 6:49 AM -
I'm confused about GET and POST in Sencha-touch
By pcr in forum Sencha Touch 1.x: DiscussionReplies: 4Last Post: 19 Jul 2011, 4:44 AM -
Not allowed to post on sencha touch forum without license?
By pokiekokie in forum Community DiscussionReplies: 1Last Post: 3 Feb 2011, 9:45 AM


Reply With Quote