Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow displaying of LinkedIn user profile data #31

Open
arbet opened this issue May 29, 2018 · 4 comments
Open

Allow displaying of LinkedIn user profile data #31

arbet opened this issue May 29, 2018 · 4 comments
Assignees

Comments

@arbet
Copy link
Owner

arbet commented May 29, 2018

Allow displaying the data as a listing or on a user's profile details. See here: https://wordpress.org/support/topic/fetch-profile/

@arbet arbet self-assigned this May 29, 2018
@palmiak
Copy link
Contributor

palmiak commented Aug 29, 2018

I'm thinking about doing this issue. I just want to be sure about the strategy. I was thinking about two basic functions:

  • get_linkedln_userdata( field_name )- to get the field user wants
  • has_linkedln_userdata( field_name ) - to check if data exist - it can be usefull for some logic

Also we would need a linkedin_userdata( field_name, params ) for echo - the params would be the wrapper, label etc.

At the end there also should be a shortcode for showing every field.

What do you think about it? If you think that is the right way I can start working on it in spare time.

@arbet
Copy link
Owner Author

arbet commented Aug 30, 2018

@palmiak - that certainly works. How do you think the shortcodes would be implemented:

  • What parameters would each shortcode have?
  • Would it allow listing a directory of users or just one user profile?

@palmiak
Copy link
Contributor

palmiak commented Aug 30, 2018

I was thinking about:
[linkedin_useradata field='' params] - which would be just a shorcode version of linkdein_userdata function.

I can also make aliases like [linkedin_location] - it would be just a short version of [linkedin_useradata field='location' params]

It would work based on user ID or based on current query (if in loop or on author page etc) - so it could be used anywhere.

Maybe later we could thing about an extra template/shortcode to display a page that would a clone of user's Linkedin profile. But that is less important I think.

@arbet
Copy link
Owner Author

arbet commented Sep 1, 2018

Hey @palmiak - I think we're spot on here. This is certainly a feature that would be used by a lot of users.

Please submit a pull request once this is completed and reference this issue. In the meantime, any questions let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants