birmingham.io

Calendar of events Project Idea

I think I’ve done that now as well…?

How do I delete my own fork again?

++ Could somebody DRAW [EDIT - when I next sit down in the pub with them] how GitHub works… I’ve read about it so many times, and the alien terms still leave me confused. It reminds me of 1999 when I just could not get my head about the database term “Table” because it was in built in my 19 year old mind that was a thing you sat at / leaned on.

1 Like

Sorry, I don’t think you did. If you like I can do this for you? I can see the change you’ve made in your copy of the repo.

As for learning git, you should pop along to one of the Open Code sessions - I can’t grantee that someone there will be able to teach you git, but it’s a good place to start learning. It’s also worth looking at Try Git, if you’ve not already, as this teaches you by doing.

Given this event is on very soon, please do it for me now… I see they have their own page http://birmingham.impacthub.net/event/brumme-with-virgin-startup-and-bes/ and Eventbrite http://www.eventbrite.co.uk/e/brumme-launch-party-tickets-17953706018 (which isn’t a clickable URL on the page), and a Google calendar link which i wont paste cause its a very long url.
I thought the Eventbrite page would be the best one to put in the calendar since that’s where you appear to need to sign up.

OK, I’ve submitted it as a pull request myself because I’m not 100% sure I know how the explicit URLs list works, so I’d prefer for @sil or @rythie to merge it in.

I’d like to be in on that pub meeting too! I did find a diagram on a website somewhere but it’s much more helpful to be able to look over somebody’s shoulder and ask them questions while they’re doing it. I’ve done the most basic of Git stuff and am yet to pull, fork or merge in any way.

This hooks into the discussion we had before about setting up a meetup for this purpose. @Banford and I met up a couple of times to discuss some ideas, but I started looking for a job (and at one point wasn’t sure if I would be staying in Brum) and he took on more responsibility for another group, so it kind of fell by the wayside.

Although, I’m thinking now is a good time to revive the idea, even if only for a one off trial run, taking advantage the open project nights over at Impact Hub. I don’t want to discuss it in this thread tho, so keep an eye out for a post regarding it.

Hmm, perhaps this is not as easy as it could be :frowning:

We grab from three sources:

  • Meetup (based on a search of their API of events in birmingham)
  • ICal feeds (configured in constructor/explicitIcalUrls.json)
  • Eventbrite (configured in constructor/explicitEventBriteOrganisers.json)

This event had ICal feed, so I tried committed that. However there was a problem with date format, so I added the organiser and committed that instead.

This article has a fairly straight forward diagram on it, explaining git and github: http://www.dataschool.io/simple-guide-to-forks-in-github-and-git/

3 Likes

Late to the party but love a good calendar - can update you (Daniel?) on some of the less techy groups at some stage; meanwhile would it be possible to scrape Facebook events if they included the word ‘technology’ like you do for Meetup? Some groups can’t afford, or don’t want to, pay the Meetup fees so we use FB instead

1 Like

Are you able to scrape Eventbrite? Can we have a chat about that? I’ve been looking for a way to do that for charity and community events. Thanks

I think that’s a great idea. I don’t know much about the technical side of this, but if the data is available via an API, I don’t see this being an issue.

That’s the rub @LimeBlast - I’m not sure the data is available via an API - but I got the impression (from @rythie here) that he was scraping Eventbrite for other events - yes?

One of the reason I tried and failed to do such a calender back in the day was I started with trying to work with the Eventbrite API and it was a pain - and I didn’t know what I was really doing!

I think from reading previous messages its something to do with you cant API / add an individual event, only add an organiser? This rings bells with the little bit of PHP tech I did on it…

Yup. We do eventbrite, but we have to add events individually. Facebook… We’ll look into whether it’s possible; that’d be a good thing to add! (@rythie do you know anything about Facebook event APIs? Is it all open graph, I wonder?)

Really need to find a way auto add Eventbrite events which are tagged #tech / #technology etc…

Meetup has a monthly cost to list events, which is good cause you know they are probably serious about it, but still many many events are listed on Eventbrite, was the 2nd key source of finding out what was going on when I followed all this manually, im sure it still is?

If you can find a way to search Eventbrite via the API for events with a specific tag and within a certain distance of the centre of Birmingham, then I am all ears!

I can’t see a way to search facebook for tech events, or even that it has good tagging system anyway. However you can see a person’s events, example (needs oAuth though - outputs JSON):

https://graph.facebook.com/v2.4/cycletechuk/events

Here’s the dev console view of that endpoint (need to be logged into Facebook)

https://developers.facebook.com/tools/explorer/145634995501895/?method=GET&path=cycletechuk%2Fevents&version=v2.4 (click “Submit” when the page loads)

There is also an endpoint for individual events, though I can’t see that being too practical.

For clarity, here you mean events created by a person rather than events attended my a person, I think. It works on pages, too, so if there’s a Facebook page for the Birmingham Fortran Club (or whatever), we can add them to a list and pull in all of their events.

Yes, created by a person (or page), that’s what I meant

One can get a list of places in Birmingham (graph explorer link) but as far as I can tell one can’t get a list of events for a place. Thanks, Facebook. Thacebook.

It seems you can do textual event searches, but it won’t do lat/long searches (ignores that, if provided):

https://developers.facebook.com/tools/explorer/145634995501895/?method=GET&path=search%3Ftype%3Devent%26q%3Dbirmingham&version=v2.4

(which then need post filterering by lat/long (to get rid of US results).

The documentation is severly lacking on this, I can’t see any detail about how search works. To me still the biggest problem is that there is no way to search for a category of events (unless that undocumented). Also, there are no categories or tags in the output, so I suspect facebook don’t collect that information.

Proudly sponsored by Bytemark