TechFrederick / community

A repo for community projects
MIT License
6 stars 3 forks source link

Explore eventbrite connector #95

Closed mblayman closed 1 day ago

mblayman commented 3 days ago

FITCI posts their events to eventbrite. The FITCI events are also on Hubspot, but they are structured as pages on the main site (which is actually a HubSpot frame embedded into a WordPress site).

Given this structure, it means that the eventbrite structured data is the best chance of pulling this info since grabbing from the FITCI website.

The current unknown is if a random account is permitted to query events from an organization. From inspecting FITCI's eventbrite page, it appears that their eventbrite organization ID is 232931902998. Pulled from https://www.eventbrite.com/o/frederick-innovative-technology-center-inc-fitci-29620412577.

The task to explore is: "Can a private API call from an unaffiliated eventbrite account pull event data from FITCI's events?"

If the answer is "yes," then we could build an Eventbrite connector to support fetching FITCI-related events.

Resources:

mblayman commented 1 day ago

Sadly, the answer is "no."

I went through the effort of connecting to the Eventbrite API. When I tried to query the FITCI organization, my API requests received a 403 Forbidden response. I did confirm that the authorization was configured properly because I was able to query a different Eventbrite API and receive a valid response.

Unless we got a developer API key directly FITCI's Eventbrite account or had the existing API key's user, i.e. mine, added to FITCI's organization, there is no path to make the proper API calls. I don't think it's reasonable to ask FITCI to do this, so I'm not going to pursue this further.

It's also possible to follow the more complex path of enabling the OAuth2 flow to make validated calls on behalf of FITCI, but that would still require FITCI to authorize the app code to grant that access. I don't think that's a reasonable request to make either.