Conversation
Notices
-
Embed this notice
Does anyone have some good resources for understanding backend? I've asked before if I had the skills to help in some small fixes of Friendica, having tested out of first semester C+, some java, and several versions of basic in my past. People told me I was over qualified for PHP, but I didn't really understand what i didn't understand as it was just a mess of different files when I think only java used multiple files on a simple level. So more clearly does anyone have ways for a noob to understand backend file organization, especially when it comes to Friendica, and how it interacts with front end, apis and sql?
-
Embed this notice
@anubis2814 Hi, unfortunately none of us has written any documentation about the most recent state of the application architecture. One of the obstacles is that we have been in constant migration for the past 3-4 years and it still is very much an ongoing project and the specs haven't completely solidified just yet, so we currently have about 4 ways of doing things, and which one it is depends on the considered feature.
The best I can do at the moment is tell you what files to look into for changes to make for each issue you're looking at.
-
Embed this notice
@anubis2814 I strongly suggest you install your own development node if you want to work on anything related to third party connectors as you'll need at least access to the node logs even before being able to change the files and verify a behavior change.
-
Embed this notice
@hypolite I was interested in adding character count to responses, however this was before it appears Musk broke the twitter api, and now I can't add new twitter friends, my stuff here on friendica no longer posts to twitter, and my likes and comments no longer appear on twitter when I write them from Friendica, I can just see them more like an rss feed so the point may be moot. My admin @hankg said it has something to do with a limited number of calls friendica can send to twitter, while calls that come in from twitter are nearly limitless so it might now be a moot point.
-
Embed this notice
@hypolite I plan to, it will be a single instance or I wont be able to sandbox it. As for the twitter bridge I didn't plan on working on any of that, just a character count in the responses, but if character count no longer has any impact on if it shows up on twitter or not its not as useful a feature.
-
Embed this notice
@anubis2814 Twitter provides their own script for it: github.com/twitter/twitter-tex…
I still think you'd need your own node just to implement the character count.
-
Embed this notice
@anubis2814 @hypolite I’d try to apply it on mine if I could still generate posts but I can’t figure out why my long standing API key is now in violation of TOS and honestly at this point I am done dealing with the Kafkaesque process combined with Musk’s BS.