Do they explicitly forbid you from sharing the developer key? I couldn't
see any reference to that on /api

Anyway, below is a working pastebin profile, you just need to fill the
developer key. If we're somehow allowed to ship the developer key, then
I'll just add mine and commit the new profile to bzr:

[pastebin]
basename = pastebin.com
regexp = "http://((([a-zA-Z0-9\-_\.]*)(pastebin\.com)))"

[format]
content = api_paste_code
user = api_paste_name
subdomain = api_paste_subdomain
private = api_paste_private
expiry = api_paste_expire_date
format = api_paste_format
email = api_paste_email
page = page
submit = submit
regexp = regexp
api_dev_key = api_dev_key
api_option = api_option

[defaults]
submit = submit
format = text
private = 0
expiry = 1M
subdomain = ""
email = ""
api_dev_key = API-KEY-HERE
api_option = paste
page = "/api/api_post.php"
regexp = "(.*)"

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/996242

Title:
  Error with pastebin.com: "THIS API HAS BEEN DISABLED. Please use
  Pastebin's new API. http://pastebin.com/api";

To manage notifications about this bug go to:
https://bugs.launchpad.net/pastebinit/+bug/996242/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to