Skip to content

Instantly share code, notes, and snippets.

View nekromoff's full-sized avatar

Galimatias Nekromoff nekromoff

View GitHub Profile
#!/bin/bash
# This script is used to package a game made with the LÖVE framework
# for Windows and Linux. It was made for the one specific game but can be
# easily modified to package any game made with LÖVE with minimal changes.
# It may require more significant changes for future versions of LÖVE.
# It relies on the game's source code being in a directory named 'src'
# within the same directory as this script, alongside both a 32 bit and a
# 64 bit version of LÖVE for Windows, plus appimagetool and the AppImage
@leilaylp
leilaylp / webhooks - leads ads form Facebook.md
Last active August 8, 2023 13:21
Subscribe Facebook Webhooks with Leads Ads Form

How to subscribe Facebook Webhooks with Leads Ads Form

I made this tutorial because I think facebook docs is a bit confusing. I didn't find good stuff about connecting Leads ads forms with a webhook. But don't worry, this is what you need:

First:

  • Create a new Facebook App
  • Have any Facebook Page and leads ads forms created.
  • Create a webhook. If you can't understand the Facebook docs, here's what you need:
    • Any Verify Token, like 'string123'.
  • A https callback url which will return the token verification.
@leilaylp
leilaylp / long lived access token tips.md
Last active October 3, 2019 13:18
Get a never-ending Facebook Access Token

How to get a never-ending Facebook Access Token

First you need:

  • APP ID
  • PAGE ID
  • Create any page access token using the Graph API Explorer. This is called a short-lived token.

Step 1. Generate a long-lived access token