Questions tagged [activity-streams]

Activity Streams is an open format specification for activity stream protocols, which are used to syndicate activities taken in social web applications and services.

36 questions
20
votes
4 answers

Django-way for building a "News Feed" / "Status update" / "Activity Stream"

I'd like to create a reusable Django app that handles status updates of the Users. Much like facebook's "news feed". Use cases includes, for example: A Professor can create an Assignment due to an specific date and every student can see on the news…
Tiago
  • 9,457
  • 5
  • 39
  • 35
5
votes
1 answer

Activitypub & Mastodon, how to get an Actor?

The question I'm currently trying to implement ActivityPub on my server to make it interoperate with mastodon. I got stuck trying to retrieve an actor from another mastodon instance. The actor contains things like the inbox, outbox, and the public…
Daniel Abrecht
  • 133
  • 1
  • 6
4
votes
2 answers

What is the relationship between OStatus, pump.io and ActivityPub?

My understanding is that: OStatus is a decentralized social networking protocol made up of several other protocols (Atom feeds, Activity Streams, PubSubHubbub, Salmon, and WebFinger) GNU Social and Mastodon are two server software applications…
3
votes
0 answers

Where are the “range” and “functional” aspects of ActivityPub properties defined?

Activity Vocabulary has tables which indicate several aspects (meta-properties?) of each property defined in Activity Streams 2.0. These aspects include: functional — is it single-value, or not? range — indicates the type of value the property term…
Laurence Gonsalves
  • 137,896
  • 35
  • 246
  • 299
3
votes
2 answers

Transforming JSON from API into an activity stream

I am doing a project for fun and one of the requirements is to the JSON data from an API of my choice and transform it into an activity stream using angularjs. I've googled and read what an activity stream is and I believe I have a basic…
hiswendy
  • 373
  • 1
  • 3
  • 14
3
votes
2 answers

Enable CKAN Activity streams for private datasets?

Is it possible to enable activity streams for private datasets? I've been testing and activity streams are shown for public datasets only. I checked the /usr/lib/ckan/default/src/ckan/ckan/lib/activity_streams.py file but I couldn't find any line…
manuelmatas
  • 241
  • 1
  • 8
3
votes
1 answer

Anonymous actors in activity streams

I'm working with a system that has a number of notifications around the creation of items within groups and am trying to model anonymous actors in notifications. Consider the contrived example: A Book belongs to a Library, and I am a user of the…
user764357
2
votes
0 answers

Django Activity Stream with Multiple Databases

Django Activity Stream uses the concept of Generic Foreign Keys. However, Django doesn’t currently provide any support for foreign key or many-to-many relationships spanning multiple databases. So, is it possible to use Django Activity Stream where…
Saurabh Verma
  • 6,328
  • 12
  • 52
  • 84
2
votes
1 answer

Activity stream object structure

I am trying to understand the concepts behind the activity stream specification, specificity using the Django: Django Activity Stream Specification I have the following components: Medal (A model instance) User (Whom the medal will be awarded…
Lee
  • 5,816
  • 6
  • 45
  • 61
1
vote
0 answers

Rdflib and activitystreams

so I'm investigating rdflib to use with ActivityStreams. My current main goal is to input an Object and get the same one back! My current try looks like this import rdflib G =…
Helge
  • 111
  • 1
  • 2
1
vote
1 answer

Why does Activity Pub make servers wrap "Note" objects into "Create" activities?

What I've gathered is that new posts are published by POSTing a JSON-LD Activity Streams object of type Note to an actor's outbox. {"@context": "https://www.w3.org/ns/activitystreams", "type": "Note", "to": ["https://chatty.example/ben/"], …
Gian
  • 327
  • 2
  • 8
1
vote
0 answers

Getting the outbox of a Mastodon profile using the activitystreams crate

I have a Mastodon URL that looks like https://mastodon_domain/web/accounts/123. I was able to retrieve JSON from that URL, parsed it in Python using plain JSON functionality and did something useful with it. Now I want to do the same using Rust and…
Achim
  • 15,415
  • 15
  • 80
  • 144
1
vote
0 answers

Inbox resolution for ActivityPub outbox delivery

Anyone experienced with the ActivityPub protocol who can clarify something for me? For server-server federation (S2S), what's the correct delivery logic when something is addressed to a remote followers collection? 7.1 of the ActivityPub spec…
Michael
  • 145
  • 6
1
vote
1 answer

How is ActivityStreams's "to" field on Activities different from the "audience" field?

The ActivityStreams specification explains the difference between to, cc, bto, and bcc in section 5.1. But there's also an audience property, defined as: one or more entities that represent the total population of entities for which the object can…
Marnanel Thurman
  • 261
  • 1
  • 10
1
vote
1 answer

Activity Stream using Java

I am venturing out to add an activity stream/news feed to my application. My tech stack is primarily Java based (Spring Boot). Are there any Java based open source libraries that can help me get started (ideally something that uses the Activity…
Swordfish
  • 1,127
  • 24
  • 46
1
2 3