title: How to share text message in LinkedIn wall in PhoneGap?
body: <p>I am developing one application in PhoneGap in that application i want to share text-message in  Facebook,twitter and LinkedIn. for ANDROID-LinkedIn i am searching many Google links but i am getting good one. please help me i am struck here</p>
  
  <p>I am implementing this sample:</p>
  
  <pre><code>&lt;html&gt;
      &lt;head&gt;
          &lt;title&gt;OAuthSimple w/ LinkedIn&lt;/title&gt;
          &lt;script src="OAuthSimple.js"&gt;&lt;/script&gt;
          &lt;script&gt;
              /*
                  You must edit the two following lines and put in your consumer key and shared secret
              */
              var consumer_key = "ibmay1qostgk";
              var shared_secret = "4HqeDRZ2ZKAvASlM";
  
              /*
                  Nothing below here needs to be edited for the demo to operate
              */
  
              var oauth_info = {};
              var oauth = OAuthSimple(consumer_key, shared_secret);
  
              function parse_response(response, callback) 
              {
                  response.replace(new RegExp("([^?=&amp;]+)(=([^&amp;]*))?", "g"), function($0, $1, $2, $3) { oauth_info[$1] = $3; });
                  callback.call();
              }
  
              function authorize_url() 
              34{
                  set_url("https://www.linkedin.com/uas/oauth/authenticate?oauth_token=" + oauth_info.oauth_token, document.getElementById("au"));
              }
  
              function access_token_url(pin) {
                  oauth.reset();      
                  var url = oauth.sign({action: "GET", path: "https://api.linkedin.com/uas/oauth/accessToken", parameters: {oauth_verifier: pin}, signatures: oauth_info}).signed_url;
  
                  set_url(url, document.getElementById("at"));
              }
  
              function fetch_profile_url() {
                  oauth.reset();  
  
                  var url = oauth.sign({action: "GET", path: "https://api.linkedin.com/v1/people/~", signatures: oauth_info}).signed_url;
  
                  set_url(url, document.getElementById("fp"));
              }
  
              function set_url(url, element) {
                  element.value = url;
  
                  var span = document.createElement("span");
                  span.innerHTML = "&amp;nbsp;&amp;nbsp;&lt;a href='" + url + "' target='_blank'&gt;Open&lt;/a&gt;";
                  element.parentNode.insertBefore(span, element.nextSibling);
              }
  
              window.onload = function() {
                  var url = oauth.sign({action: "GET", path: "https://api.linkedin.com/uas/oauth/requestToken", parameters: {oauth_callback: "oob"}}).signed_url;
  
                  set_url(url, document.getElementById("rt"));
              }
          &lt;/script&gt;
      &lt;/head&gt;
      &lt;body&gt;
          &lt;h1&gt;OAuthSimple w/ LinkedIn&lt;/h1&gt;
          &lt;label for="rt"&gt;Request Token URL:&lt;/label&gt; &lt;input type="text" size="100" name="rt" id="rt" &gt;
          &lt;br&gt;&lt;br&gt;
          &lt;label for="rtr"&gt;Request Token Response:&lt;/label&gt;&lt;br&gt;&lt;textarea rows="5" cols="75" name="rtr" id="rtr"&gt;&lt;/textarea&gt;
          &lt;br&gt;
          &lt;button onclick="javascript:parse_response(document.getElementById('rtr').value, authorize_url)"&gt;Parse Response&lt;/button&gt;
          &lt;br&gt;&lt;br&gt;
          &lt;label for="au"&gt;Authorize URL:&lt;/label&gt; &lt;input type="text" size="100" name="au" id="au"&gt;
          &lt;br&gt;&lt;br&gt;
          &lt;label for="vp"&gt;Verifier PIN Code:&lt;/label&gt; &lt;input type="text" size="100" name="vp" id="vp"&gt;
          &lt;button onclick="javascript:access_token_url(document.getElementById('vp').value)"&gt;Get Access Token URL&lt;/button&gt;
          &lt;br&gt;&lt;br&gt;
          &lt;label for="at"&gt;Access Token URL:&lt;/label&gt; &lt;input type="text" size="100" name="at" id="at"&gt;
          &lt;br&gt;&lt;br&gt;
          &lt;label for="atr"&gt;Access Token Response:&lt;/label&gt;&lt;br&gt;&lt;textarea rows="5" cols="75" name="atr" id="atr"&gt;&lt;/textarea&gt;
          &lt;br&gt;
          &lt;button onclick="javascript:parse_response(document.getElementById('atr').value, fetch_profile_url)"&gt;Parse Response&lt;/button&gt;
          &lt;br&gt;&lt;br&gt;
          &lt;label for="fp"&gt;Fetch Profile URL:&lt;/label&gt; &lt;input type="text" size="100" name="fp" id="fp"&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>thanks in advance</p>