Github user robdouglas commented on a diff in the pull request:
https://github.com/apache/incubator-streams/pull/49#discussion_r14605251
--- Diff:
streams-contrib/streams-provider-instagram/src/main/java/org/apache/streams/instagram/serializer/util/InstagramActivityUtil.java
---
@@ -47,7 +52,24 @@
* @throws ActivitySerializerException
*/
public static void updateActivity(MediaFeedData item, Activity
activity) throws ActivitySerializerException {
+ activity.setActor(buildActor(item));
+
+ if(item.getCreatedTime() != null)
+ activity.setPublished(new
DateTime(Long.parseLong(item.getCreatedTime()) * 1000));
+
+ activity.setId(formatId(activity.getVerb(),
--- End diff --
Added a call to set it in updateActivity
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---