WordPress.org

Ready to get started?Download WordPress

Forums

WP LinkedIn
[resolved] Error Message "Throttle limit ... is reached" since ver 1.10 (3 posts)

  1. FrankWL
    Member
    Posted 3 months ago #

    Good morning,

    since updating to 1.10 I am getting the error message "An error has occured while retrieving the profile: Throttle limit for calls to this resource is reached." on all wp-admin pages. Disabling wp-linkedin is removing the error-message, so I conclude that the error is connected to this plugin.

    Also the [li_updates only_self count="7"] shortcode is NO longer working (see http://www.welsch-lehmann.com/)

    On the same page the [li_recommendations interval="3000"] is still working OK.

    The description on http://vedovini.net/downloads/linkedin-plugin-wordpress/ no longed mentions li_updates. Is that an oversight or is the functionality no longer available?

    Thanks for any ideas.
    Frank

    http://wordpress.org/plugins/wp-linkedin/

  2. Claude Vedovini
    Member
    Plugin Author

    Posted 3 months ago #

    This is not related to the update (and the description you mention is incomplete, the full description is here http://wordpress.org/plugins/wp-linkedin/ :)

    What happened is that you hit the throttle limit of the LinkedIn API, which means the [li_updates] shortcode is making too many requests. This is either due to you having a high traffic site without caching or some tests you are doing. That's why the [li_updates] is not working (and only this one)

    Contrary to the other shortcodes there is no caching provided by the plugin for the updates (the reasoning being that updates change frequently and you want them up-to-date) but LinkedIn has a limit on the number of calls you can make per seconds and per day.

    Possible solutions are either to cache the page or use your own LinkedIn application key and secret.

    To do the latter you'll need to go here https://www.linkedin.com/secure/developer then create a new application. Once this is done modify your wp-config.php to include the following:

    define('WP_LINKEDIN_APPKEY', 'your app key');
    define('WP_LINKEDIN_APPSECRET', 'your app secret');

    I might add some short term caching to that part too if this prove a common issue.

    Lastly, the syntax you gave for the shortcode is wrong, in your exemple the only_self argument won't be taken into account (it works because the default is only_self="1") the correct syntax is [li_updates only_self="1" count="7"] or [li_updates only_self="0" count="7"]

    Hope that helps
    C.

  3. Claude Vedovini
    Member
    Plugin Author

    Posted 2 months ago #

    closing

Reply

You must log in to post.

About this Plugin

About this Topic