dimanche 1 mars 2015

Unable to Share from Latest ShareButton CodenameOne api

Hello I have integrated the Facebook Demo into netbeans and followed the guidelines as mentioned in the developer guide and as well as set required facebook permissions. But im failing to share the text on to the wall, where as am able to retirve friends list, profile info and news feed.



final ShareButton share = new ShareButton();
final TextArea t = new TextArea(" This is sample text from using CodenameOne api");
t.addActionListener(new ActionListener() {

public void actionPerformed(ActionEvent evt) {
share.setTextToShare(t.getText());
}
});
c.addComponent(BorderLayout.CENTER, t);
share.setTextToShare(t.getText());


Is there anything which im missing to integrate or set any additioanl permissions?


Aucun commentaire:

Enregistrer un commentaire