softwerkskammer / Agora

Die Software für die Plattform der Softwerkskammer
Other
55 stars 58 forks source link

Activities von SWK auf Meetup veröffentlichen #1363

Open NicoleRauch opened 6 years ago

NicoleRauch commented 6 years ago
signed commented 6 years ago

I setup a self contained sample project that retrieves an oauth2 token from meetup using passport and then create an event using this token.

You have to setup an oauth2 client with meetup here: https://secure.meetup.com/meetup_api/oauth_consumers/.

Create a conf.js file in the directory: { "clientID": "oauth client id", "clientSecret": "oauth client secret" }

Run the sample with node index.js and open http://localhost:3000

NicoleRauch commented 6 years ago

Oh, großartig! Ich schaue mal, ob ich die nächsten Tage dazu komme, softwerkskammerseitig die Anbindung zu bauen.

signed commented 6 years ago

Converting the activity description (markup, formatting) to a meetup description (no markup) might be hard to automate. What about starting with only putting a link back to the agora activity into the meetup description?

NicoleRauch commented 6 years ago

I was thinking of doing the same as what you did manually: Just use the description and ignore the fact that it contains markup :-D But adding the link sounds like the better option. By the way, is it even possible to add links to the description?

signed commented 6 years ago

The meetup api documentation states that it supports a subset of html (a, i and b). I was not able to to get this working in event descriptions using the web ui.

NicoleRauch commented 6 years ago

Hmm... Just a wild guess: You‘re sending the description via URL Parameter, I guess? Then you might need to urlencode() it in order to work? If that does not help: Can you pls further specify „not able to get this working“?

signed commented 6 years ago

I did not tried this with API call. I tried to do it with the meetup web ui. And there I entered <i>text</i> into the description and the tags got stripped out. Same for b and a tags.