Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[potential bug] event id and url inconsistencies #122

Open
zassmin opened this Issue Mar 8, 2016 · 14 comments

Comments

Projects
None yet
8 participants
@zassmin
Copy link

zassmin commented Mar 8, 2016

What's the difference between the event url urlname/events/:id and events id? The ids don't match. Further, the event id seems to change overtime. Is that expected behavior? I can show an example.

I'm using the v2 api to pull events data. http://www.meetup.com/meetup_api/docs/2/events/

@softprops

This comment has been minimized.

Copy link
Contributor

softprops commented Mar 8, 2016

Are you see changes in id's in the API or the website? The event identifiers should be stable and unchanging in the API. However, you will notice that recurring event identifiers will change on the website. Recurring event identifiers represent a time and event template configured at the time of setting up the series. They will change to numeric identifiers on the website after member activity like commenting or rsvps occur.

@zassmin

This comment has been minimized.

Copy link
Author

zassmin commented Mar 8, 2016

I'm seeing what appears to be id changes from the API.

One particular case:
API initially returned this "gjdfhlyvfbmb" id for event: http://www.meetup.com/Women-Who-Code-SF/events/221357069/ and then returned this "frcgqlyvfbmb" id for the same event yesterday.

In a different case:
API initially returned this "bvshllyvfbtb" id for event http://www.meetup.com/Women-Who-Code-SF/events/bvshllyvfbtb/. That link is now broken and the correct link for it is http://www.meetup.com/Women-Who-Code-SF/events/228914132/ with new id "wrbzplyvfbtb".

@softprops

This comment has been minimized.

Copy link
Contributor

softprops commented Mar 8, 2016

@zassmin I'll open an internal ticket to investigate

@zassmin

This comment has been minimized.

Copy link
Author

zassmin commented Mar 8, 2016

👍

@interludic

This comment has been minimized.

Copy link

interludic commented Nov 10, 2016

?

@reustle

This comment has been minimized.

Copy link

reustle commented May 16, 2017

Any updates here? I'm also getting multiple different IDs for an event

@interludic

This comment has been minimized.

Copy link

interludic commented May 16, 2017

I having been trying to cache events accurately for some time, this is what i have come up with

Convinced there is no other way..


	public function explodeMeetupUrl($eventUrl){
		$piece = explode("https://www.meetup.com/groupname/events/", $eventUrl);
		return trim($piece[1], " \t/");
	}

foreach ($id as $eventId => $meetupEventId) {
				$meetupEvent = $meetup->getMeetupEvent($meetupEventId);

				if(!empty($meetupEvent['event_url'])){
					$newMeetupEventId = $this->explodeMeetupUrl($meetupEvent['event_url']);			
					if(!empty($newMeetupEventId))	$id[$eventId] = $meetupEvent['id'];					
				}else{
					$id[$eventId] = null; //Cancelled(?) meetup event
				}
			}

Note that i am chunking the events into groups of 20 and delaying by 10 seconds so that i dont get throttled

@timiwahalahti

This comment has been minimized.

Copy link

timiwahalahti commented Feb 28, 2018

What is situation of this issue?

We're facing this issue with WordPress (free and open source software that now powers 29% of the internet) Events API which powers "WordPress events near to you" functionality in every dashboard. Would really appreciate sine update on fixing ID's. https://meta.trac.wordpress.org/ticket/3027

@zenga22

This comment has been minimized.

Copy link

zenga22 commented Mar 7, 2018

I have been getting multiple IDs for an event URL. This is happening on a series event, but there does not appear to be any changes between the two events except ID and RSVP count. Is the temporary fix to use the event URL instead of ID as a primary key?

@coreymckrill

This comment has been minimized.

Copy link

coreymckrill commented Mar 7, 2018

@zenga22 We have been using the URL instead of ID as the primary key, and that seems to work.

@interludic

This comment has been minimized.

Copy link

interludic commented Mar 8, 2018

@NicoleRauch

This comment has been minimized.

Copy link

NicoleRauch commented Mar 1, 2019

Any news regarding this issue? I'm seeing ID changes for an event after it was renamed... This is a major pain as I am shadowing Meetup events in my system for informational purposes.

Thanks for any support / fixes wrt this issue!

@reustle

This comment has been minimized.

Copy link

reustle commented Mar 5, 2019

We're hacking our way around this by checking newly found events against previous events using their url/title/date etc. If the title and date match, it's probably the same event, and we can update the meetup_id in our DB with the new one. Very much not ideal.

@interludic

This comment has been minimized.

Copy link

interludic commented Mar 6, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.