-
Notifications
You must be signed in to change notification settings - Fork 6
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
Enhancement: Integration with The-Federation.info for Additional Spam Detection Metrics #2
Comments
There is this spreadsheet I found as well that could useful and related to this issue |
Nice. Does it provide a REST API? |
I don't think it has a REST API but you use the following url using GraphiQL: https://the-federation.info/v1/graphql That is where I think they're using to get the data. More info on that here |
That graphql link you sent me doesn't seem to work. You mean this? https://the-federation.info/graphql If so, I have no idea how to use it as it doesn't seem to have any guidance |
You can use the link https://the-federation.info/graphql as a GUI version to write and run some test queries. For an example simple query format:
Will generate: The schema is helpfully included to the right of the GUI in screen shot above so you can see all the available fields for your queries. Once you have built your graphql query you can just CURL or fetch the API endpoint at https://the-federation.info/v1/graphql with your JSON encoded query. There's some simple examples here: https://www.apollographql.com/blog/graphql/examples/4-simple-ways-to-call-a-graphql-api/ of how to achieve this. I'm not associated in any way with the-federation.info by the way, just thought it may be of some small help in understanding their API setup if you think it would be useful to pull data from. |
Is your feature request related to a problem? Please describe.
Currently, this service uses the Lemmy Fediverse Observer to identify and counter bad actors. While this provides valuable insights, I believe the integration with additional data sources could further improve spam detection.
Describe the solution you'd like
I suggest integrating with The-Federation.info. This service offers real-time data, including user count, active users, posts, and comments, for various federated social networks. The website also includes how many local posts and comments were made, giving a better picture as which instances are suspicious with high user counts but low local post and local comment count. Incorporating this data could enhance our understanding of the instance's activity and improve spam detection capabilities.
Describe alternatives you've considered
Sticking with the current approach solely based on the Lemmy Fediverse Observer.
Additional context
The integration with The-Federation.info could potentially provide another layer of information to detect suspicious activity quickly and more accurately.
The text was updated successfully, but these errors were encountered: