is it possible to fetch community list publicly? i want to build something like a teaser page for public (accesible for non logged in user) that would display some interesting community page to join
Hello, @kanon Let me pass this to our team and will stay in touch with you for updates.
- Create API Endpoint:
- Develop a custom API endpoint in your system (e.g., https://your-custom-api.com/amity/community).
- Embed the admin token and structure the API call as per the Amity Community API documentation.
- Allow Non-Login User Access:
- Configure your custom API to allow access for non-login users. This ensures users, whether logged in or not, can make requests to the custom API endpoint.
- Rate Limit Consideration:
- Be cautious about rate limiting. Adhere to Amity’s recommendation of 20 requests per second to prevent potential issues. Implement controls in your custom API to manage and comply with this rate limit.
- Thoroughly test your custom API endpoint with both logged-in and non-logged-in users.
- Verify that responses align with your expectations and that rate limits are enforced correctly.
If you face challenges or have questions, feel free to reach out.