Skip to content

Instantly share code, notes, and snippets.

@rektide
Last active August 29, 2015 14:17
Show Gist options
  • Save rektide/1ed1f59b0f73d124ae7e to your computer and use it in GitHub Desktop.
Save rektide/1ed1f59b0f73d124ae7e to your computer and use it in GitHub Desktop.
Blocking samples
{
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Block",
"actor": "https://twitter.com/rektide",
"object": "https://twitter.com/claytoncubitt"
}
{
"@context": "http://schema.org/docs/jsonldcontext.json",
"@type": "UserBlocks",
"url": "https://twitter.com/claytoncubitt/",
"performer": "https://twitter.com/rektide/",
"startDate": "2015-3-23 1:00:00-4"
}
@rektide
Copy link
Author

rektide commented Mar 23, 2015

Things start breaking down- this is probably ok but pretty shady:

{
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Block",
"actor": "https://twitter.com/rektide",
"object": "https://twitter.com/search?q=ted cruz"
}

This is more what I'd be attempting to go for, but I have the feeling mention is meant in more than the indefinte-

{
"@context": "http://www.w3.org/ns/activitystreams",
"@type": "Block",
"actor": "https://twitter.com/rektide",
"object": {
  "@type": "Mention",
  "displayName": "Ted Cruz"
 }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment