AWS APIGatewayでtwitter用のhtmlを返す
twitter用のindex.htmlを返すAPIをAWSのAPIGatewayとLambdaを使って作成。SPA環境でSSRをせずに手軽にtwitter card用のhtmlを作成する。This article describes how to use AWS APIGateway and Lambda to create a simple HTML page with Twitter card meta tags. This can be used to embed Twitter cards in blog posts without having to implement SSR or other complex systems.