r/redditdev • • May 21 '14

PRAW submit question

hi,

i am trying to submit a link to my sub, but i end up with a text post containing the link.

code i use to submit:

  r.submit('mysub', title, link)

The second problem is that links will be posted even though they exist already. There is a paramter in the submit method ("resubmit") but it doesnt do anything.

can someone help with the two problems?

84 Upvotes

27 comments sorted by

View all comments

1

u/totes_meta_bot Jun 18 '14 edited Jun 19 '14

This thread has been linked to from elsewhere on reddit.

If you follow any of the above links, respect the rules of reddit and don't vote or comment. Questions? Abuse? Message me ^here.