Skip to content

Conversation

someretical
Copy link

@someretical someretical commented Jun 16, 2025

New API endpoints:

  • /events gets all events - to be used by the frontend (format listed below)
  • /eventsWebhook endpoint used by the facebook webhook

Events format:

  public id: string;
  public title: string;
  public startTime: string;
  public endTime?: string;
  public location: string;
  public imageUrl: string;
  public link: string;

.env fields required - None of these should be exposed to the user

FB_WEBHOOK_VERIFY_TOKEN=
FB_EVENT_PAGE_ID=
FB_APP_ID=
FB_APP_SECRET=
FB_ACCESS_TOKEN=

@someretical
Copy link
Author

i trolled too close to the sun, need to treat edit/create differently for the webhook listener

@Domin0de Domin0de changed the base branch from master to qa July 7, 2025 23:07
@Domin0de Domin0de merged commit 1f2ba56 into qa Jul 9, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants