Hi,
I am trying to use 'MySpaceID SDK for Java' for accessing the myspace data.
I am having problems with sending notifications using this SDK.
Its working fine and the notifications are displaying in the userprofile when
the notification is for an internal application, i mean when the user adds my
application.
But since my requirement is i need to send notification from an external application,
i have created and myspaceID application and other things like status update etc
are working fine.
The main problem is when i try to send notification for a user, i get the status
as
{"postnotificationstatus":"posted"}
but the notification has not been seen in the user notification tab after several
hours also.
For the reference the following is my sample code which i used:
SecurityContext scontext = new SecurityContext(exkey,exsecret);
RestV1 restObj = new RestV1(scontext);
HashMap tpMap = new HashMap();
tpMap.put("content","sample notification content");
Object postObj = restObj.sendNotification(<appid>, <userid>, tpMap, null);
Please suggest on this and quick response is appreciated.
Thanks for u r time in advance,
Chaitu