You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -72,7 +72,7 @@ api.trending(count, verbose)
72
72
Trending returns an array of json objects. Example structure [here](https://gist.github.com/davidteather/0be2e495e2de54098e8f2a9594581d27)
73
73
JSON object tree [here](https://gist.github.com/davidteather/bc4baef0edb621dd322c8ad128a31ac1)
74
74
75
-
##### The userPosts method
75
+
##### The userPosts Method
76
76
77
77
```
78
78
# Where count is how many results you want
@@ -81,6 +81,8 @@ JSON object tree [here](https://gist.github.com/davidteather/bc4baef0edb621dd322
81
81
api.userPosts(userid, count, verbose)
82
82
```
83
83
84
+
Since this isn't an offical TikTok API the TikTok servers don't know what to do. This method specifically will throw a lot of errors if you have verbose on. It takes a lot longer than trending, however it will still end up working. Just give it a few minutes.
85
+
84
86
Trending returns an array of json objects. Example structure [here](https://gist.github.com/davidteather/a5c1e54de353353f77a78139d2e5a9f9)
85
87
It has the same JSON object tree as trending. It's [here](https://gist.github.com/davidteather/bc4baef0edb621dd322c8ad128a31ac1) anyways.
0 commit comments