ActivityPub Viewer

A small tool to view real-world ActivityPub objects as JSON! Enter a URL or username from Mastodon or a similar service below, and we'll send a request with the right Accept header to the server to view the underlying object.

Open in browser →
{ "@context": [ "https://www.w3.org/ns/activitystreams", { "ostatus": "http://ostatus.org#", "atomUri": "ostatus:atomUri", "inReplyToAtomUri": "ostatus:inReplyToAtomUri", "conversation": "ostatus:conversation", "sensitive": "as:sensitive", "toot": "http://joinmastodon.org/ns#", "votersCount": "toot:votersCount", "Hashtag": "as:Hashtag" } ], "id": "https://mastodon.ml/users/vftdan/statuses/108194399089467983", "type": "Note", "summary": null, "inReplyTo": null, "published": "2022-04-25T19:38:33Z", "url": "https://mastodon.ml/@vftdan/108194399089467983", "attributedTo": "https://mastodon.ml/users/vftdan", "to": [ "https://www.w3.org/ns/activitystreams#Public" ], "cc": [ "https://mastodon.ml/users/vftdan/followers" ], "sensitive": false, "atomUri": "https://mastodon.ml/users/vftdan/statuses/108194399089467983", "inReplyToAtomUri": null, "conversation": "tag:mastodon.ml,2022-04-25:objectId=9134881:objectType=Conversation", "content": "<p><a href=\"https://mastodon.ml/tags/c\" class=\"mention hashtag\" rel=\"tag\">#<span>c</span></a>++ <a href=\"https://mastodon.ml/tags/cpp\" class=\"mention hashtag\" rel=\"tag\">#<span>cpp</span></a> <a href=\"https://mastodon.ml/tags/emscripten\" class=\"mention hashtag\" rel=\"tag\">#<span>emscripten</span></a> <a href=\"https://mastodon.ml/tags/programming\" class=\"mention hashtag\" rel=\"tag\">#<span>programming</span></a></p><p>I have this c++ code:<br />```<br />...<br />stringstream stream(&quot;23.4f&quot;);<br />float f;<br />char c;<br />stream &gt;&gt; f;<br />stream.get(c);<br />cout &lt;&lt; &quot;Float = &quot; &lt;&lt; f &lt;&lt; endl &lt;&lt; &quot;Character = &quot; &lt;&lt; c &lt;&lt; endl;<br />...<br />```</p><p>In ideone.com it works as expected (f = 23.4, c = &#39;f&#39;). But when I have a code, that should be essentially equivalent, and I compile it with em++ (emscripten), I get f = 0 &amp; failed stream. What could be causing this problem?</p>", "contentMap": { "en": "<p><a href=\"https://mastodon.ml/tags/c\" class=\"mention hashtag\" rel=\"tag\">#<span>c</span></a>++ <a href=\"https://mastodon.ml/tags/cpp\" class=\"mention hashtag\" rel=\"tag\">#<span>cpp</span></a> <a href=\"https://mastodon.ml/tags/emscripten\" class=\"mention hashtag\" rel=\"tag\">#<span>emscripten</span></a> <a href=\"https://mastodon.ml/tags/programming\" class=\"mention hashtag\" rel=\"tag\">#<span>programming</span></a></p><p>I have this c++ code:<br />```<br />...<br />stringstream stream(&quot;23.4f&quot;);<br />float f;<br />char c;<br />stream &gt;&gt; f;<br />stream.get(c);<br />cout &lt;&lt; &quot;Float = &quot; &lt;&lt; f &lt;&lt; endl &lt;&lt; &quot;Character = &quot; &lt;&lt; c &lt;&lt; endl;<br />...<br />```</p><p>In ideone.com it works as expected (f = 23.4, c = &#39;f&#39;). But when I have a code, that should be essentially equivalent, and I compile it with em++ (emscripten), I get f = 0 &amp; failed stream. What could be causing this problem?</p>" }, "attachment": [], "tag": [ { "type": "Hashtag", "href": "https://mastodon.ml/tags/c", "name": "#c" }, { "type": "Hashtag", "href": "https://mastodon.ml/tags/cpp", "name": "#cpp" }, { "type": "Hashtag", "href": "https://mastodon.ml/tags/emscripten", "name": "#emscripten" }, { "type": "Hashtag", "href": "https://mastodon.ml/tags/programming", "name": "#programming" } ], "replies": { "id": "https://mastodon.ml/users/vftdan/statuses/108194399089467983/replies", "type": "Collection", "first": { "type": "CollectionPage", "next": "https://mastodon.ml/users/vftdan/statuses/108194399089467983/replies?min_id=108216107449819920&page=true", "partOf": "https://mastodon.ml/users/vftdan/statuses/108194399089467983/replies", "items": [ "https://mastodon.ml/users/vftdan/statuses/108194427082326209", "https://mastodon.ml/users/vftdan/statuses/108194647716204525", "https://mastodon.ml/users/vftdan/statuses/108216107449819920" ] } } }