- <script src="http://platform.linkedin.com/in.js">
- api_key:
- //onLoad: onLinkedInLoad
- scope: r_basicprofile r_emailaddress r_fullprofile
- authorize:true
- </script>
- <script>
- function onLinkedInAuth() {
- IN.API.Profile("me")
- .fields("firstName", "lastName", "industry", "location:(name)", "picture-url", "headline", "summary", "num-connections", "public-profile-url", "distance", "positions", "email-address", "educations", "date-of-birth")
- .result(displayProfiles);
- IN.UI.Share().params({
- url: "http://www.example.com"
- }).place()
- }
- function displayProfiles(profiles) {
- console.log(profiles);
- member = profiles.values[0];
- }
- jQuery(document).ready(function(){
- jQuery("#linkdinlog").click(function(){
- IN.UI.Authorize().place();
- IN.Event.on(IN, "auth", onLinkedInAuth);
- });
- });
- </script><a href="javascript:void(0)" id="linkdinlog">link</a>
its a site that provide source code of php,javascript,mysql,ajex,css,html for different kind of tasks. it help user to solved their problem related to programing and also provide solutions of joomla , wordpress,cubrcart,drupal problems.
Thursday, 9 October 2014
Custom linkedin button for share and auth
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment