Users should use streamPublish() instead.
Example of use:
FacebookStory story = new FacebookStory();
story.putData("name", "title"); //you can use {*actor*} which uses the logged users name
story.putData("caption", "tehasdsasdf");
story.putData("description", "tehasdsasdf");
story.putData("href", "http://www.cnn.com");//adds href for 'name'
story.addImage("http://i.cdn.turner.com/cnn/.element/img/3.0/global/header/hdr-main.gif", "http://www.cnn.com");
story.setActionLinkText("another link to something");
story.setActionLinkHref("http://www.google.com");
story.streamPublish();
No comments:
Post a Comment