I am using the Facebook Publishing APIs. When I read the feed I would like to invoke a http get request to my server to modify the display status string.
This is the code in the plugin that works to display the status feeds:
code
var feedId = value.id,
feedMsg = value.story || value.message,
feedBtn = element.find('[name=feed_name]');
feedBtn.find('.ui-btn-text').text(feedMsg);
feedBtn.attr('data-id', feedId);
/code
feedMsg is the text of the status feed returned from the Facebook APIs. I need to make an httpget request to my server like:
code
var r=httpGet('http://myserver/getStatus/'+escape(feedMsg));
/code
I return a JSON object, the element 'status' contains the new string to display.
Thanks for your help,
Roger