pellaeon / fb-post-bulk-privacy-edit

A script to bulk edit Facebook post privacy settings
72 stars 24 forks source link

USER_ID should be replace with me #7

Open nayzawoo opened 6 years ago

nayzawoo commented 6 years ago

When I run process.py i got empty list in posts request It work when i change USER_ID with me

steakscience commented 6 years ago

Can you clarify what you mean? USER_ID is just a variable name, so I doesn't change anything.

nayzawoo commented 6 years ago

@SixFingeredAmish I mean

-     conn.request("GET", '/'+USER_ID+'/posts?access_token='+TOKEN+'&since='+str(cur_since)+'&until='+str(cur_since+INTERVAL))
+     conn.request("GET", '/me/posts?access_token='+TOKEN+'&since='+str(cur_since)+'&until='+str(cur_since+INTERVAL))