GuglielmoTor commited on
Commit
2dfff06
·
verified ·
1 Parent(s): c3690ee

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
@@ -19,7 +19,7 @@ API_REST_BASE = "https://api.linkedin.com/rest" # Corrected from API_REST_BASE t
19
  # Initialize sentiment pipeline (consider loading it once globally if this module is imported multiple times)
20
  sentiment_pipeline = pipeline("text-classification", model="tabularisai/multilingual-sentiment-analysis")
21
 
22
- def fetch_linkedin_posts_core(comm_client_id, community_token, org_urn, count=100):
23
  """
24
  Fetches raw posts, their basic statistics, and performs summarization/categorization.
25
  Does NOT fetch comments or analyze sentiment.
 
19
  # Initialize sentiment pipeline (consider loading it once globally if this module is imported multiple times)
20
  sentiment_pipeline = pipeline("text-classification", model="tabularisai/multilingual-sentiment-analysis")
21
 
22
+ def fetch_linkedin_posts_core(comm_client_id, community_token, org_urn, count=20):
23
  """
24
  Fetches raw posts, their basic statistics, and performs summarization/categorization.
25
  Does NOT fetch comments or analyze sentiment.