On first run, when FB_LONG_ACCESS_TOKEN is not available, the GraphQL request fails and throws an exception, even though the long access token is fetched as part of the flow. Change this to retry automatically after failure.
Occasionally, the long access token is not written back to the environment file correctly (gets written without a newline, corrupting the previous property too). Fix this.
FB_LONG_ACCESS_TOKEN
is not available, the GraphQL request fails and throws an exception, even though the long access token is fetched as part of the flow. Change this to retry automatically after failure.