FanfictionBot / reddit-ffn-bot

A reddit auto reply bot.
53 stars 18 forks source link

Directly mark for later/follow link? #112

Open RobertSchuh opened 5 years ago

RobertSchuh commented 5 years ago

Would it be possible to add links to the bot that automatically put a story on the "mark for later" list (ao3) or bookmark list (ffn)? You can add /mark_for_later to an ao3 link to automatically add a fic to the list. Adding a bookmark on ffn doesn't have an easy link system but the following code in a ffn page seems to do the trick: $.post('https://www.fanfiction.net/api/ajax_subs.php',{storyid: storyid,storyalert: 1 },'json'); where storyid is the id of the story.