UNSOLVED How to unfollow or follow programmatically?


  • I want to unfollow or follow user programmatically (in client side)
    I don't want this code

    ajaxify.go('/user/username')
    setTimeout(() => $('.btn-morph.fab').click(), 1000)
    

    I tried this code

    require(['follow'], f => f.unfollow(1, 2))
    

    But this not working..
    Big thank you

Suggested Topics

| |