I’m trying to make a ‘badge’ for a github project’s README, and would like to include the number of likes a post on the forum has. However, the forum seems to block API requests from https://shields.io.
Shield’s User Agent is Shields/* (where the star is the variable version number).
Something strange I noticed is sometimes it does load the badge properly, but must times it does not. It is confusing me a lot. Any help would be appreciated!
I found a solution using Roproxy. Now, it isn’t the ideal solution, and would be great if Roblox did allow Shields to access the devforum directly, but it seems to work just fine. To make it work, you need to replace roblox with roproxy in the url, like this:
We don’t currently officially support automated access to the forum at this time for various reasons around scale and security. Expect any unofficial API integrations you make to break at times. Apologies for the inconvenience.
UserAgent is a weak measure to identify apps because anyone can trivially fake a UserAgent, so we would be unable to use UserAgent to identify or allow-list specific apps.