WordPress.org

Ready to get started?Download WordPress

Forums

WP LinkedIn
[resolved] [closed] Multi-users (9 posts)

  1. myhero
    Member
    Posted 10 months ago #

    Hi,

    I've is this a current / planned possibility with the plugin?

    Similar to this thread:
    http://wordpress.org/support/topic/mod-for-multi-users?replies=4

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

  2. Claude Vedovini
    Member
    Plugin Author

    Posted 10 months ago #

    If you're using BuddyStream (like if the post you linked) then the current trunk of WP-LinkedIn, combined with this plugin: http://wordpress.org/plugins/wp-linkedin-buddystream/ will do that. Somehow...

    This is not the first time someone ask for that, so I am considering it, but I'd be interested to know exactly what you mean. How you would like to use the shortcodes and the widgets?

  3. myhero
    Member
    Posted 10 months ago #

    Hi,
    Thanks for getting back to me.
    I'd like to use this like the example below, so that every user will have their own linked in profile which I can insert via a shortcode on a post.

    [li_recommendations width="480" length="200" interval="1000" [author meta"linked in url"]]

    and

    [li_card [author meta"linked in url"]]

    using the User meta shortcodes plugin to show that particular persons link which will be captured using a form.

    Will the plugin that you've recommended be able to accomplish this?

    Thanks

  4. Claude Vedovini
    Member
    Plugin Author

    Posted 10 months ago #

    I am not sure what you're showing there would work, I don't think you can embed a shortcode in another shortcode.

    Anyway, I guess what you're trying to do is that the [li_recommendations] and [li_card] are showing the data from the author of the current post or page, right?

    If so then, no, that's not what the BuddyStream integration does. But this is pretty much what I plan to do in the future.

  5. myhero
    Member
    Posted 10 months ago #

    OK great thank you!

    I embed shortcodes within shortcodes all the time, seems to work for me :)

  6. Claude Vedovini
    Member
    Plugin Author

    Posted 10 months ago #

    you can put shortcodes in the content of other shortcodes (if those shortcodes bother to filter the content they return) but not in the attributes of the shortcodes.

    anyway, I guess there could be a solution where the oauth-token is taken from the content of the shortcode, something like:

    [li_recommendations width="480" length="200" interval="1000"][author meta="linkedin-oauthtoken"][/li_recommendation]

    But that's the easy part, the hardest part is that it would be your responsibility to get the token (and renew it when necessary)

  7. myhero
    Member
    Posted 10 months ago #

    Thanks, what it an oauth token and how often would it have to be renewed?

  8. Claude Vedovini
    Member
    Plugin Author

    Posted 10 months ago #

    OAuth is an authentication and authorization protocol, the token is a secret used to authenticate the application to the API after the users authorized it to access their data. With the LinkedIn API the tokens only last 60 days and must be renewed if the regularly application must keep access to the data.

    More details on how to obtain a token here: http://developer.linkedin.com/documents/authentication

  9. myhero
    Member
    Posted 10 months ago #

    Thank you, you've been very helpful. I'll have a look into that.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.