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

Examples #20

Open
IntinteDAO opened this issue Jan 16, 2021 · 2 comments
Open

Examples #20

IntinteDAO opened this issue Jan 16, 2021 · 2 comments
Labels
Documentation question Further information is requested

Comments

@IntinteDAO
Copy link

Hi. I'm not an expert in using my brain :P I've tried from the documentation to understand how the code works (+ ActivityPub from online texts), but I don't know how to use these projects realistically, and I wouldn't want to create my own protocol. Can you write different simple examples of different functions?

For example:

  • Creating a user for ActivityPub (what data is needed) [of course can be given from the code].
  • Creating an entry based on the data
  • Retrieving an entry from another instance
  • Retrieving user data

And so on.

If possible, of course.

@landrok landrok added question Further information is requested Documentation labels Jan 31, 2021
@landrok
Copy link
Owner

landrok commented Jan 31, 2021

Hi, good questions. Based on these and some other previous ones, I think documentation should be rewritten keeping these in minds.
I keep this issue opened and I'll try to write something more understandable when I have some more time.
Thank you for your feedback :)

@IntinteDAO
Copy link
Author

In general, I've been doing a little bit of studying the ActivityPub documentation. I don't want to offend or anything, but I don't quite understand how ActivityPHP (server) works as a real server instead of some kind of data interpreter.

Additionally, I think a full tutorial on how to use ActivityPHP would be useful. I have my webfinger here:

https://101010.pl/.well-known/webfinger?resource=acct:[email protected]

I wanted to generate one in ActivityPHP using Type::create('person'), but the returned JSON is completely different than expected.

It would be good to simulate (as part of the documentation) creating your own service from scratch. About what data needs to be collected from the user (some recommend creating a private and public key, but some different documentation doesn't say anything about it).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants