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

GraphQL: Can not find groups for a particular topicId #126

Open
schloerke opened this issue Dec 29, 2021 · 2 comments
Open

GraphQL: Can not find groups for a particular topicId #126

schloerke opened this issue Dec 29, 2021 · 2 comments

Comments

@schloerke
Copy link
Collaborator

Related: #118

Goal: Find all groups for a topic id. Ex: topicId: 1513883 should return all 140 groups from https://www.meetup.com/topics/r-ladies/all/

Limitations:
Clicking through the API, we can search for groups via:

This SearchConnectionFilter has support for topicCategoryId (ex: Technology, topicCategoryId: 546). (SearchConnectionFilter's categoryId is for events... this does not make sense to me.)

SearchConnectionFilter does not have support for topicId like /find/groups?topicId=1513883. 😭


Using the topicCategoryId of 546 and a query value of R-Ladies, I can find 180 groups.

  [1] "R-Ladies Brasília"               "R-Ladies Comitán"                "R-Ladies Jeddah"
  [4] "R-Ladies Urmia"                  "R-Ladies Caracas"                "R-Ladies Milagro"
  [7] "R-Ladies Xalapa"                 "R-Ladies Brisbane"               "R-Ladies Paris"
 [10] "R-Ladies Buenos Aires"           "R-Ladies Rio de Janeiro"         "R-Ladies San Diego"
 [13] "R-Ladies Milan"                  "R-Ladies Quito"                  "R-Ladies PDX"
 [16] "R-Ladies Montreal"               "R-Ladies Seattle"                "R-Ladies East Lansing"
 [19] "R-Ladies Atlanta"                "R-Ladies Lima"                   "R-Ladies Santa Barbara"
 [22] "R-Ladies Oslo"                   "R-Ladies Johannesburg"           "R-Ladies Tampa"
 [25] "R-Ladies Guayaquil"              "R-Ladies Belo Horizonte"         "R-Ladies Santa Fe"
 [28] "R-Ladies Niterói"                "R-Ladies Boulder"                "R-Ladies Iowa City"
 [31] "R-Ladies La Paz"                 "R-Ladies Perth"                  "R-Ladies Lyon"
 [34] "R-Ladies Houston"                "R-Ladies Freiburg"               "R-Ladies Newcastle"
 [37] "R-Ladies Den Bosch"              "R-Ladies Queretaro"              "R-Ladies Christchurch"
 [40] "R-Ladies Goiânia"                "R-Ladies Highland Park"          "R-Ladies Bucharest"
 [43] "R-Ladies Novi Sad"               "R-Ladies Kansas City"            "R-Ladies Athens"
 [46] "R-Ladies Calgary"                "R-Ladies Pachuca"                "R-Ladies Pune"
 [49] "R-Ladies Beijing"                "R-Ladies Oxford Ohio"            "R-Ladies Göteborg"
 [52] "R-Ladies Abuja"                  "R-Ladies Aguascalientes"         "RLadies Ribeirão Preto"
 [55] "R-Ladies General Pico"           "R-Ladies Cordoba"                "R-Ladies Cochabamba"
 [58] "R-Ladies Nairobi"                "R-Ladies Banda Aceh"             "R-Ladies Waltham"
 [61] "R-Ladies Tijuana"                "R-Ladies Saudi Arabia (Dammam)"  "R-Ladies Göttingen"
 [64] "R-Ladies Baltimore"              "R-Ladies Edinburgh"              "R-Ladies Helsinki"
 [67] "R-Ladies Salvador"               "R-Ladies Reading"                "R-Ladies Zürich"
 [70] "R-Ladies Bordeaux"               "R-Ladies Villahermosa"           "R-Ladies Cologne"
 [73] "R-Ladies Stockholm"              "R-Ladies San Francisco"          "R-Ladies RTP"
 [76] "R-Ladies Madrid"                 "R-Ladies Barcelona"              "R-Ladies Dublin"
 [79] "R-Ladies Tbilisi"                "R-Ladies Budapest"               "R-Ladies Adelaide"
 [82] "R-Ladies Porto Alegre"           "R-Ladies Cambridge"              "R-Ladies Tucson AZ"
 [85] "R-Ladies Copenhagen"             "R-Ladies Auckland"               "R-Ladies Lausanne"
 [88] "R-Ladies Amsterdam"              "R-Ladies Irvine"                 "R-Ladies Addis Ababa"
 [91] "R-Ladies Cotonou"                "R-Ladies Pasadena"               "R-Ladies Nijmegen"
 [94] "R-Ladies Sydney"                 "R-Ladies Lancaster"              "R-Ladies Vienna"
 [97] "R-Ladies Toronto"                "R-Ladies Kathmandu"              "R-Ladies Montpellier"
[100] "R-Ladies Ottawa"                 "R-Ladies Canberra"               "R-Ladies Frankfurt"
[103] "R-Ladies Nelson"                 "R-Ladies Bogor"                  "R-Ladies Lavras"
[106] "R-Ladies Concepción"             "R-Ladies Utrecht"                "R-Ladies Denver"
[109] "R-Ladies Fayetteville"           "R-Ladies Cuernavaca"             "R-Ladies Lagos"
[112] "R-Ladies New Delhi"              "R-Ladies Recife"                 "R-Ladies Podgorica"
[115] "R-Ladies Masqat"                 "R-Ladies Eskisehir"              "R-Ladies New Orleans"
[118] "R-Ladies Galapagos Islands"      "R-Ladies Oxford"                 "R-Ladies Monterrey"
[121] "R-Ladies Niš"                    "R-Ladies Barranquilla"           "R-Ladies Algiers"
[124] "R-Ladies Fortaleza"              "R-Ladies Bangalore"              "R Ladies Aarhus"
[127] "R-Ladies Jujuy"                  "R-Ladies Kuala Lumpur"           "R-Ladies Izmir"
[130] "R-Ladies Kingston"               "R-Ladies Thessaloníki"           "R-Ladies Al-Khartum"
[133] "R-Ladies Des Moines"             "R-Ladies São Mateus"             "R-Ladies Darwin"
[136] "R-Ladies London"                 "R-Ladies New York"               "R-Ladies Columbus"
[139] "R-Ladies London, Ontario"        "R-Ladies Austin"                 "R-Ladies CDMX"
[142] "R-Ladies Chicago"                "R-Ladies Santiago"               "R-Ladies Philly"
[145] "R-Ladies Chennai"                "R-Ladies Rotterdam"              "R-Ladies São Paulo"
[148] "R-Ladies Mendoza"                "R-Ladies Dallas"                 "R-Ladies Bariloche"
[151] "R-Ladies Valparaíso"             "R-Ladies Resistencia-Corrientes" "R-Ladies Bilbao"
[154] "R-Ladies Floripa"                "R-Ladies El Paso"                "R-Ladies Jakarta"
[157] "R-Ladies Puebla"                 "R-Ladies Riverside"              "R-Ladies Lexington Park"
[160] "R-Ladies Medellín"               "R-Ladies Vitória"                "R-Ladies Bergen"
[163] "R-Ladies Mumbai"                 "R-Ladies Syracuse"               "R-Ladies Colombo"
[166] "R-Ladies Mid-Mo"                 "R-Ladies Yaoundé"                "R-Ladies Ha Noi"
[169] "R-Ladies Talca"                  "R-Ladies Tunis"                  "R-Ladies Natal"
[172] "R-Ladies Curitiba"               "R-Ladies Glasgow"                "R-Ladies Asunción"
[175] "R-Ladies Guadalajara"            "R-Ladies Santo Domingo"          "R-Ladies West Lafayette"
[178] "R-Ladies Coventry"               "R-Ladies Ushuaia"                "R-Ladies Cusco"

This is pretty solid search results, as there are 40 more results due to some groups not having the r-ladies topic ID.


Resulting behavior: {meetupr} will not be able to search by topic id. 😞
cc @ledell

@drmowinckels
Copy link
Member

I was doing some tests on this too, and can confirm. I can get anything like what we had before working. Its ridiculous behaviour from the API side, imo

One of the main reasons we wanted this function, was to search for all Rladies groups easily, but we could (atleast before) also do that through accessing the pro-account information (needing a pro account token). I can see if I can make any heads or tails of that using the R-Ladies pro account.

@benubah
Copy link
Collaborator

benubah commented Feb 20, 2022

I can get anything like what we had before working.

Could you search by the R-Ladies topic_id and/or retrieve 216 R-Ladies groups by using the find_groups2() function?

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

No branches or pull requests

3 participants