I want to post on wall using fb API, When I post a message, after share, the link opens and popup remains open.
Code is
function writeOnWall()
{
FB.init({
appId:'292656140795961',
xfbml:true
});
FB.ui({
method: 'feed',
name: 'First Application'
});
}
You can use the following code to post into facebook wall , just call the function with proper arguments
Try this ,