on 03-07-2011 9:03 PM
Hi,
I was wondering if I have an app which uses the Feed APIs how can I post a feed to a specific activity? Is it the same as posting an event to a topic? On a related note how do I post a comment to a feed entry? Are there any APIs for that?
Regards,
Satyajit
Hi Satyajit,
at the moment this is not possible. You can only [GET|https://streamwork.com/api/Get_the_feed_for_a_specific_activity.html] the activity stream of a certain activity but cannot POST anything to the feed. The events in the activity feed are automatically created by StreamWork in case of any events occuring within the activity.
Cheers
Simon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Simon,
Thanks for your answer. Let's take this scenario - we have an activity called "Test Activity" and we want to post a feed to it e.g. "PPT updated" or some text like that. Is it correct that if we post an event to that activity/topic and when we GET the feeds for that activity this new feed will also be included?
We can post events to topics so what is the exact difference between posting a feed and posting an event to a topic/activity?
Regards,
Satyajit
Hi Satyajit,
your scenario sounds realistic and should be handled by StreamWork out of the box. The way you need to see this is that activity feeds and organization/application feeds are separated.
In case of the former, activity feed items are created automatically by the system as soon as you add, modify or delete items within an activity. StreamWork gives you limited ability to change the type of event if you are using the [StreamWork Method API|https://streamwork.com/api/methods/Raising_custom_events.html], but you are not allowed to manually POST events without an action in that activity. If you update a PPT within an activity, StreamWork creates an event.
Regarding the second case, the Feed API enables you to post custom events and make them available to certain people within your organization. In general, the feeds created using the Feed API should be seen separately from activity feeds; however, it is possible to link an event of an organization/application feed to a source (such as an activity), e.g. to provide additional insight.
HTH
Simon
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.