PHP API Language

So I've been trying to write a bot in PHP. I've been using https://github.com/jcleblanc/reddit-php-sdk/

And I found a couple of things.

What should the ENDPOINT_OAUTH_REDIRECT be in the config, as the default one gives an error at reddit.com when initializing the script.

How do I make this run as a bot, as I presume currently it redirects to reddit to get a user input to allow permissions?

Thanks.

Posted Jun 2, 2016, 1:31 PM UTC

27
Loading comments…