GuglielmoTor commited on
Commit
b5ba1c7
·
verified ·
1 Parent(s): 97314bb

Update Linkedin_Data_API_Calls.py

Browse files
Files changed (1) hide show
  1. Linkedin_Data_API_Calls.py +1 -1
Linkedin_Data_API_Calls.py CHANGED
@@ -313,7 +313,7 @@ def fetch_comments(comm_client_id, community_token, post_urns, stats_map):
313
  try:
314
  # IMPORTANT: Use the correct endpoint structure from your working code.
315
  # The post_urn goes directly into the path and should NOT be URL-encoded here.
316
- url = f"{API_REST_BASE}/socialActions/{post_urn}/comments?sortOrder=CHRONOLOGICAL"
317
  # If you want to add other parameters like 'count' or 'start', append them, e.g.,
318
  # url = f"{API_REST_BASE}/socialActions/{post_urn}/comments?sortOrder=CHRONOLOGICAL&count=10"
319
 
 
313
  try:
314
  # IMPORTANT: Use the correct endpoint structure from your working code.
315
  # The post_urn goes directly into the path and should NOT be URL-encoded here.
316
+ url = f"{API_REST_BASE}/socialActions/{post_urn}/comments"
317
  # If you want to add other parameters like 'count' or 'start', append them, e.g.,
318
  # url = f"{API_REST_BASE}/socialActions/{post_urn}/comments?sortOrder=CHRONOLOGICAL&count=10"
319