Description Usage Arguments Value Examples
Lists the unique paste IDs listed on a user's pastebin account.
1 | pbListPosts(user = "beepbeepbeep", api_results_limit = 1000, session_key)
|
user |
The user whose posts you'd like a list of. Troy Hill's username ("beepbeepbeep") is used by default |
api_results_limit |
Number of results to list (must be between zero and 1000) |
session_key |
Session key, generated by /codegetUserKey |
paste IDs |
a vector containing the paste IDs (the unique portion of the web address, following 'pastebin.com/') of the user's public posts (or all posts, if the targeted account is your own) |
1 2 | # generate a session key first, using getUserKey
# a <- pbListPosts(session_key = session_key) # lists all of beepbeepbeep's posts
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.