如何使用OAuth2将Meetup.com日历集成到Wordpress网站中?

时间:2019-07-04 14:51:40

标签: api oauth-2.0 meetup

如何使用OAuth2将Meetup.com日历集成到您的Wordpress网站中?

有人知道如何将Meetup.com集成到Wordpress网站吗?过去我一直在使用API​​:

  

https://api.meetup.com/self/calendar?photo-host=public&page=20&sig_id=xxxx&sig=xxxxxxx

但是,使用Meetup.com限制API的使用并将其替换为OAuth2,有人知道替代方法是什么吗?

我希望输出为:

data = [
  [{
    name: 'car',
    color: 'black',
    group: 0,
    match: true
  },{
    name: 'car',
    color: 'white',
    group: 0,
    match: true
  },{
    name: 'car',
    color: 'blue',
    group: 0,
    match: true
  }],
  [{
    name: 'truck',
    color: 'black'
    group: 1,
    match: true
  },{
    name: 'truck',
    color: 'white',
    group: 1,
    match: true
  },{
    name: 'truck',
    color: 'yellow',
    group: 1,
    match: true
  }],
  [{
    name: 'moto',
    color: 'black',
    group: 2,
    match: false
  },{
    name: 'moto',
    color: 'pink',
    group: 2,
    match: false
  },{
    name: 'moto',
    color: 'orange',
    group: 2,
    match: false
  }]
]

但此刻我收到:

[{"created":1560425085000,"duration":7200000,"id":"262283493","name":"London DevOps #45","rsvp_limit":280,"date_in_series_pattern":false,"status":"upcoming","time":1562263200000,"local_date":"2019-07-04","local_time":"19:00","updated":1562150853000,"utc_offset":3600000,"waitlist_count":0,"yes_rsvp_count":240,"venue":{"id":26041493,"name":"Babylon Health","lat":51.49301528930664,"lon":-0.16721400618553162,"repinned":true,"address_1":"60 Sloane

0 个答案:

没有答案