Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

Requests to Meetup API are missing headers #40

Closed
ramonaspence opened this issue Feb 7, 2021 · 4 comments
Closed

Requests to Meetup API are missing headers #40

ramonaspence opened this issue Feb 7, 2021 · 4 comments

Comments

@ramonaspence
Copy link

ramonaspence commented Feb 7, 2021

I just noticed that the requests to Eventbrite are using headers for authorization. Do the requests to Meetup's API not require any headers for the sake of authorization?

I bring this up because when I go to the Meetup API endpoint that's used in App.py I get this output:
{"errors":[{"code":"auth_fail","message":"Invalid csrf credentials"}]}

@allella
Copy link
Member

allella commented Feb 8, 2021

@ramonaspence check out this old issue about Meetup v2 vs v3.

I believe we changed the URLs to use the v3 API, but since we're only doing GET requests which are publicly available, I don't think we needed to setup OAuth to make those base requests.

Do you think something you were doing was hitting a v2 API OR trying to pass the &key= GET parameter which is now deprecated? We were using key={a value from config.ini} but we simply removed it and started using v3 public GET requests.

@ramonaspence
Copy link
Author

Oh I see. So, it was actually an invalid "group name" that I was giving the url.

meetup.api.com/Hack-Greenville/events works for example but,
meetup.api.com/1234567890/events does not work.

So no issue with the headers then.

@allella
Copy link
Member

allella commented Feb 8, 2021

Nice. Do we need to keep this issue open, or is it good now?

@ramonaspence
Copy link
Author

We're good now 👍🏻

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants