Domanda

I am using the Social Business Toolkit (SBT) with the Extension Library.

Using the IBM documentation, I am struggling to find the service URL to get the updates from the activity stream (like what you see in the home page).

I am expecting to be able to do this but rather than get the users entries, get all entries that have been posted on their board/other users updates

new sbt.ConnectionsService("/profiles/atom/mv/theboard/entry/status.do?email=" +userBean.email);

Does anybody know it?

È stato utile?

Soluzione

sbt.ConnectionsService is part of com.ibm.xsp.extlibx. That is different from the Social Business Toolkit SDK.

In order to read the entries from the activity stream using the SDK you can simply call ActivityStreamService.getAllUpdatesStream() or getActivityStreamEntries(String user, String group, String app, Map params) if you want to filter it.

See http://openntf.org/XSnippets.nsf/snippet.xsp?id=create-entry-in-activity-stream-from-xpages-via-the-social-sdk-and-oauth2

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top