feross/reddit

post of the feed instead of community?

awais-yousaf opened this issue · 0 comments

I want to post in my profile feed added below. I am not sure how to do that. Can you please explain?

async function post(){
    // Submit a link to the /r/BitMidi subreddit
    const res = await reddit.post('/api/submit', {
    sr: 'cryptoanalyticatech',
    kind: 'link',
    resubmit: true,
    title: 'This is the test',
    url: 'www.google.com'
    })
    
    console.log(res);
}