- Create a compliance job You can specify the job type (with the value tweets or users to indicate whether the dataset you want to upload has Post IDs or user IDs. You can have one concurrent job per job type at any time.
- Upload your dataset to the upload_url Next, you upload your dataset as a plain text file to the provided upload_url, with each line of the file containing a single Post ID or user ID. The upload_url expires after 15 minutes.
- (Optional) Check the job status You can check the status of your compliance job to see whether it is created, in_progress, failed or complete.
- Download the results When your job is complete, you can download the results using the download_url. The download_url expires after one week (from when the job was created). This result will contain a set of JSON objects (one object per line). Each object will contain a Post ID, the Post’s creation date (useful to locate Posts organized by date), required action, the reason for the compliance action, and the date the user was suspended.
- deleted - indicates that the Post or User account was deleted
- deactivated - indicates that the Post or User account has been deactivated
- scrub_geo - indicates that the geo information associated with the Post or User was removed
- protected - indicates the account that made the Post became private
- suspended - indicates the account that made the Post was suspended
- An approved developer account.
- To authenticate using the keys and tokens from a developer App that is located within a Project.