!OSdHmmGFxBlYdPldqA:matrix.org

Hubzilla

318 Members
Learn about the Hubzilla software project (http://hubzilla.org). Support forum: https://zotadel.net/channel/support60 Servers

Load older messages


Timestamp Message
2 Apr 2020
19:01:30@snakebite:matrix.orgHarald dulsi: You mean you want to add API's? Pr use the existing API's?
19:04:06@snakebite:matrix.orgHaraldYou can allready connect to hubzilla API using basic authentication.
19:25:08@dulsi:matrix.orgdulsiNew api or maybe an existing API I don't know of. I know I can have a post request to my plugin and unload data that way but I would need to login first. Is there an API I can use to upload to that directly? Or add some other function to my plugin to enable doing that.
21:35:07@dulsi:matrix.orgdulsiAlso is it possible to add a new menu item. Like the photos menu item so I can have a games item to see trophies/achievements.
3 Apr 2020
08:08:46@fajjida:matrix.orgfajjidaConsidering the fact that other plugins do that, yes. https://zotlabs.org/help/en/hooklist#doco-top-toc-heading that's probably what you're looking for https://zotlabs.org/help/en/developer/api_zot#Zot_API that's pretty much the docs on how to make custom communications with hubzlla You'd pretty much use the hubzilla API and channel structure to build and implement your own http channel based "sub API". I didn't see an actual write up on how to do it, but the tools are there. https://zen.uber.space/team-hubzilla/addons/src/branch/master/gallery this should serve as a good example to learn from on how to get integration into hubzilla https://zen.uber.space/team-hubzilla/addons/src/branch/master/twitter_api I guess this part would be an example of a custom API implementation
08:11:38@fajjida:matrix.orgfajjidadisclaimer: never made a plugin, but at least I planned to
08:12:26@fajjida:matrix.orgfajjida * Considering the fact that other plugins do that, yes. https://zotlabs.org/help/en/hooklist#doco-top-toc-heading that's probably what you're looking for https://zotlabs.org/help/en/developer/api_zot#Zot_API that's pretty much the docs on how to make custom communications with hubzlla You'd pretty much use the hubzilla API and channel structure to build and implement your own http channel based "sub API". I didn't see an actual write up on how to do it, but the tools are there. https://zen.uber.space/team-hubzilla/addons/src/branch/master/gallery this should serve as a good example to learn from on how to get integration into hubzilla https://zen.uber.space/team-hubzilla/addons/src/branch/master/twitter_api I guess this part would be an example of a custom API implementation
08:15:46@fajjida:matrix.orgfajjidaHow to make encrypted authenticated communications with a custom client I'm not sure at all. The usual mechanism involves a token
08:16:30@snakebite:matrix.orgHarald dulsi: What fajjida said. As for "logging in", you can use http basic auth, as mentioned. That way there's no explicit login-step. You just need to know the channel name and account password.
08:17:54@snakebite:matrix.orgHarald Also see core/include/api_zot.php for the implementation of the existing API, and how to register your own API endpoints. I find the code easier to read than the documentation.
08:19:18@snakebite:matrix.orgHaraldThere's also some support for OAuth logins, which should be better/safer, but I haven't looked into that (yet.)
08:19:26@fajjida:matrix.orgfajjida * How to make encrypted authenticated communications with a custom client I'm not sure at all. The usual mechanism involves a token
10:19:38@_xmpp_muppeth=40disroot.org:matrix.orgmuppeth left the room.
10:29:36@_xmpp_muppeth=40disroot.org:matrix.orgmuppeth joined the room.
10:33:13@_xmpp_muppeth=40disroot.org:matrix.orgmuppeth left the room.
11:02:43@_xmpp_muppeth=40disroot.org:matrix.orgmuppeth joined the room.
11:55:23@_xmpp_muppeth=40disroot.org:matrix.orgmuppeth left the room.
14:07:04@dulsi:matrix.orgdulsi fajjida: Thanks for the gallery example. Now why doesn't it work? 😛 I modified the code and added it to my project. It didn't add to the menu. I then added to gallery module to my site. It also doesn't add the gallery menu item.
20:03:30@_xmpp_muppeth=40disroot.org:matrix.orgmuppeth joined the room.
22:28:56@rgg:matrix.orgmeta-obscura joined the room.
4 Apr 2020
12:06:27@_xmpp_muppeth=40disroot.org:matrix.orgmuppeth left the room.
12:06:30@_xmpp_muppeth=40disroot.org:matrix.orgmuppeth joined the room.
12:41:44@_xmpp_muppeth=40disroot.org:matrix.orgmuppeth left the room.
12:43:46@_xmpp_muppeth=40disroot.org:matrix.orgmuppeth joined the room.
14:32:18@_xmpp_muppeth=40disroot.org:matrix.orgmuppeth left the room.
14:33:53@_xmpp_muppeth=40disroot.org:matrix.orgmuppeth joined the room.
14:55:48@_xmpp_muppeth=40disroot.org:matrix.orgmuppeth left the room.
14:56:29@_xmpp_muppeth=40disroot.org:matrix.orgmuppeth joined the room.
15:21:13@_xmpp_muppeth=40disroot.org:matrix.orgmuppeth left the room.
15:52:32@_xmpp_muppeth=40disroot.org:matrix.orgmuppeth joined the room.

There are no newer messages yet.


Back to Room List