• Resolved chercka

    (@chercka)


    Have installed and entered Linkedin info like shown below (edited).
    Have put the shorthand into a page and HTML shows up, but no profile info at all.
    Am I supposed to enter my profile ID somewhere?

    define('LINKEDIN_APPKEY', get_option('xxxxwthyfy4q'));
    define('LINKEDIN_APPSECRET', get_option('xxxxayZJSlQi7fPZ'));
    define('LINKEDIN_USERTOKEN', get_option('xxxx57b4-89c9-4815-a44e-4503ddde10ad'));
    define('LINKEDIN_USERSECRET', get_option('xxxxc741-1fb0-4cb5-8ce9-38ab1e3b0892'));
    
    define('LINKEDIN_FIELDS_BASIC', 'id, first-name, last-name, picture-url, headline, location, industry, public-profile-url');
    define('LINKEDIN_FIELDS_DEFAULT', 'summary, specialties, languages, skills, educations, positions, recommendations-received');
    define('LINKEDIN_FIELDS', LINKEDIN_FIELDS_BASIC . ', ' . get_option('wp-linkedin_fields', LINKEDIN_FIELDS_DEFAULT));

    https://www.ads-software.com/extend/plugins/wp-linkedin/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Y U NO use wordpress admin interface???

    Besides that this is never gonna work…
    You are going to pull the value of an option called “xxxxwthyfy4q”. That option does not exist because it is called “wp-linkedin_appkey”.

    You could however try this (might not work I’m not very good at PHP):

    define('LINKEDIN_APPKEY', 'xxxxwthyfy4q');
    define('LINKEDIN_APPSECRET', 'xxxxayZJSlQi7fPZ');
    define('LINKEDIN_USERTOKEN', 'xxxx57b4-89c9-4815-a44e-4503ddde10ad');
    define('LINKEDIN_USERSECRET', 'xxxxc741-1fb0-4cb5-8ce9-38ab1e3b0892');
    
    define('LINKEDIN_FIELDS_BASIC', 'id, first-name, last-name, picture-url, headline, location, industry, public-profile-url');
    define('LINKEDIN_FIELDS_DEFAULT', 'summary, specialties, languages, skills, educations, positions, recommendations-received');
    define('LINKEDIN_FIELDS', LINKEDIN_FIELDS_BASIC . ', ' . get_option('wp-linkedin_fields', LINKEDIN_FIELDS_DEFAULT));

    Plugin Author Claude Vedovini

    (@cvedovini)

    Do not modify the php in the plugin as any modification will be overridden with the next plugin update.

    Instead go to the plugin option page Settings -> LinkedIn and enter your keys here.

    eek; I got all my keys and secrets entered, but I’m still not sure how to include it with my site. [li_profile] is the beginning of something I’m sure, but I tried the URL for my Linkdin profile and it breaks the entire post.

    Help?

    How do you enter it into your site? I did a pdf embed plugin that used [embed]url.pdf[/embed] but that doesn’t work with [li_profile]profileurl[/li_profile]

    Thank you,
    Justin

    Plugin Author Claude Vedovini

    (@cvedovini)

    Hello,

    Documentation for the shortcodes comes with the plugin, you can read it here https://www.ads-software.com/extend/plugins/wp-linkedin/installation/

    Basically, once you entered your keys, you just need to drop the shortcode where you need it. The syntax for the profile shortcode is just [li_profile] no need to add anything else.

    Regards,
    C.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Installation’ is closed to new replies.