Epic space race facebook bot where you compete in a snake&ladder game to be selected as a crew to the moon. Winning alone is not enough, you need to win together with a couple friends to have a successful lunar mission. Comment on the newest facebook post to have the bot roll your dice.
- Microsoft Azure subscription
- .NET Core >2.2
- Azure Functions Visual Studio Code Extension
Rename local.settings.example.json
to local.settings.json
and open the local.settings.json
env file.
Change the SpaceRaceBotPage
and SpaceRaceBotToken
values according to your bot page ID and token. Then:
dotnet restore
dotnet build
- From Visual Studio Code press
Ctrl+Shift+A
then log in to your Azure account - Right click on your subscription then click "Create Function App in Azure" and finish setting up your function app
- Click on "Deploy to Function App"
- Right click on "Application Settings" then click "Upload Local Settings"
From your browser, navigate to https://<yourfunctionappname>.scm.azurewebsites.net/DebugConsole
cd site
touch spaceracestate.json
mkdir img && cd img && mkdir spaceracebot && cd spaceracebot
Drag and drop/upload your images in the project's img
folder here.