Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fetching status id gives non-ActivityPub data #296

Closed
lanodan opened this issue Jan 2, 2019 · 3 comments
Closed

Fetching status id gives non-ActivityPub data #296

lanodan opened this issue Jan 2, 2019 · 3 comments
Labels
bug Something isn't working

Comments

@lanodan
Copy link

lanodan commented Jan 2, 2019

Describe the bug
Fetching a status by it’s id gives non-ActivityPub data.

To Reproduce
Steps to reproduce the behavior:

  1. Get a Nextcloud status id/url. Here I’ll take https://cloud.beepboop.ga/apps/social/@dirb/15464603731806653100)
  2. Request it with Accept: application/activity+json. Here: curl -H 'Accept: application/activity+json' https://cloud.beepboop.ga/apps/social/@dirb/15464603731806653100

Expected behavior
The ActivityPub object should be returned (see the specification or other ActivityPub software).

Server details
Not my instance, and I have no knowledge about nextcloud and there is no nodeinfo. So this is why I even put the URLs.

@lanodan lanodan added the bug Something isn't working label Jan 2, 2019
@lanodan lanodan changed the title ActivityPub endpoints broken/non-existent Fetching status id gives non-ActivityPub data Jan 2, 2019
@ArtificialOwl
Copy link
Member

please try with Accept: application/ld+json or wait for 0.1.2: https://github.com/nextcloud/social/pull/290/files

@dirb
Copy link

dirb commented Jan 3, 2019

I'm the owner of that box, it's running on:
PHP 7.2.10-0ubuntu0.18.04.1
Nextcloud 15.0.0
nextcloud/social 65dc245

so the "compare Accept Header from a list" is pull request already merged

@lanodan
Copy link
Author

lanodan commented Jan 3, 2019

Sorry, I should have noted that I did try with application/ld+json so it’s not a duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants