Dear All, I m using graph api of facebook to publish messages on wall.i m using following
function which publish messages on wall .
function streamPublish(){
FB.ui(
{
method: 'stream.publish',
message: 'hii',
attachment: {
name: 'testing',
caption: 'my name is ange',
description: (
'testing.'
),
href: 'http://abcm.com'
},
action_links: [
{ text: 'Code', href: 'http://cabc.com' }
],
user_message_prompt: 'Share your thoughts about site'
},
function(response) {
if (response && response.post_id) {
alert('Post was published.');
} else {
alert('Post was not published.');
}
}
);
this function is able to post messages when i m using mozilla or chrome,but in internet explorer i m getting FB is undefined.
Please share what i can do to solve this problem