I m using FB.ui method in facebook to show stream publish box as follows:
function showfeed()
{
var publish = {
method: 'stream.publish',
attachment: {
name: 'XYZ',
caption: 'caption here',
description: ('description'),
href: 'url',
media: [{
type: 'image',
href: 'url',
src: 'xyz.gif'
}]
},
action_links: [{ text: 'XYZ', href: 'url' }]
};
FB.ui(publish,null);
}
This works fine but my page is very long in height so when i click button to show this dialog it appears at center of page not at top so even dialog is display at center it's not display to me as i m at top. Is there any away to position dialog at top so any one can see it.