Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Claude Vedovini

    (@cvedovini)

    If you’re using BuddyStream (like if the post you linked) then the current trunk of WP-LinkedIn, combined with this plugin: https://www.ads-software.com/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?

    Thread Starter myhero

    (@myhero)

    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

    Plugin Author Claude Vedovini

    (@cvedovini)

    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.

    Thread Starter myhero

    (@myhero)

    OK great thank you!

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

    Plugin Author Claude Vedovini

    (@cvedovini)

    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)

    Thread Starter myhero

    (@myhero)

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

    Plugin Author Claude Vedovini

    (@cvedovini)

    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: https://developer.linkedin.com/documents/authentication

    Thread Starter myhero

    (@myhero)

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Multi-users’ is closed to new replies.