Have you enabled the plugin and set the redirect URL in the YOURLS admin panel? If you're having trouble, check out the project page.