WordPress.org

Ready to get started?Download WordPress

Forums

500px Image Showcase Lite
[resolved] Plugin broken, giving 401 (2 posts)

  1. Reagent X
    Member
    Posted 1 year ago #

    When I use this widget on my homepage, I get this error:

    Warning: file_get_contents(https://api.500px.com/v1/photos?consumer_key=&feature=user&username=css&rpp=6) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 401 Unauthorized in/home/ssardegn/public_html/new/wp-content/plugins/500px-image-showcase-lite/plugin-widget.php on line 49

    Warning: Invalid argument supplied for foreach() in/home/ssardegn/public_html/new/wp-content/plugins/500px-image-showcase-lite/plugin-widget.php on line 60

  2. inceptive
    Member
    Plugin Author

    Posted 1 year ago #

    The plugin is not broken. The error you get, is because you are not authorized to use the 500px API. You must follow the instructions as described here:
    http://wordpress.org/extend/plugins/500px-image-showcase-lite/installation/
    You have to register an application in 500px developers site:
    http://500px.com/settings/applications?from=developers
    and the copy the consumer key and paste it into the Consumer Key field of 500px Image Showcase settings page in the WordPress admin panel.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.