GuglielmoTor commited on
Commit
8f25997
·
verified ·
1 Parent(s): 48407e5

Update Data_Fetching_and_Rendering.py

Browse files
Files changed (1) hide show
  1. Data_Fetching_and_Rendering.py +2 -1
Data_Fetching_and_Rendering.py CHANGED
@@ -109,7 +109,8 @@ def fetch_posts_and_stats(comm_client_id, community_token, count=10):
109
  token_dict = community_token if isinstance(community_token, dict) else {'access_token': community_token, 'token_type': 'Bearer'}
110
  session = create_session(comm_client_id, token=token_dict)
111
 
112
- org_urn, org_name = fetch_org_urn(comm_client_id, token_dict)
 
113
  posts_url = f"{API_REST_BASE}/posts?author={org_urn}&q=author&count={count}&sortBy=LAST_MODIFIED"
114
 
115
  try:
 
109
  token_dict = community_token if isinstance(community_token, dict) else {'access_token': community_token, 'token_type': 'Bearer'}
110
  session = create_session(comm_client_id, token=token_dict)
111
 
112
+ #org_urn, org_name = fetch_org_urn(comm_client_id, token_dict)
113
+ org_urn, org_name = "urn:li:organization:19010008", "GRLS"
114
  posts_url = f"{API_REST_BASE}/posts?author={org_urn}&q=author&count={count}&sortBy=LAST_MODIFIED"
115
 
116
  try: