Open kraftbj opened 10 years ago
This has been open for almost 2 years, has any consideration been given to it yet?
@Korvacs We haven't made any progress on this yet. We'll update this issue as soon as we start working on it.
Requested in 2483159-t
Would love to see this feature added
would be lovely! - :+1: +1
Requested in 2511680-t
same here, please!
same here too! Thanks
same here too! Thanks
I don't mean to seem impatient, but how many users have to request something before it becomes a priority? This has been open for almost 3 years with nearly 50 different requests documented here and no progress. Were there really that many people asking for a Skype sharing button or yet another social icons widget?
The API calls are simple ( https://github.com/Automattic/jetpack/issues/259#issuecomment-76062603 ), and many have stepped up willing to do the work, except that it has to happen in a place we can't access.
Please make this a priority or tell us how we can help you do that. I'll start a social media campaign for it if you want. :-)
As there is still no progress, can anyone at least offer a workaround? Thanks
@lannison Until this is implemented in Jetpack, you could try this plugin. It seems to offer the option to post to LinkedIn company pages:
LinkedIn - Autopost to your account. Ability to attach your blogpost to LinkedIn post. Autopost to LinkedIn Company pages and/or Groups (with third party API library)
That plugin requires a premium "API" plugin in order to enable that feature, which means we can't copy the code into our own solutions :-(. I may just have to write my own plugin for this one feature. If I do, I'll post a link here.
2597682-t
2598964-t
Hi Sorry for late response but that is possible with linkedln api an i am currently using that feature in my web app through which i can post my content into linkedln business page.
I am also attach my script file and my script so that it would be easy for your to take a look and if you need live example then i will share you screen shots or my web app link where it is working. But before posting that link please check below files and script and if there is any issue then update me i will check that.
Where as is there any way to post content on google+ business page as same as linkedln web page?
/*------------------------------------ Script ------------------------------------*/
function linkedln_companypost(){
$comment = $this->input->post('xxxxxxxx');;
$title = $this->input->post('xxxxxxxxx');
if($this->input->post('xxxxxxxxxxx') !='' && strlen($this->input->post('xxxxxxxxx'))>250){
$description = substr($this->input->post('xxxxxxxxxxx'),0,250).'...';
}else{
$description = $this->input->post('xxxxxxxxxxx');
}
$submitted_url = $this->input->post('xxxxxxxxx');
$strShare =
'<?xml version="1.0" encoding="UTF-8"?>
<share>
<comment>'.$comment.'</comment>
<content>
<title>'.$title.'</title>
<description>'.$description.'</description>
<submitted-url>'.$submitted_url.'</submitted-url>
<submitted-image-url>http://example.com</submitted-image-url>
</content>
<visibility>
<code>anyone</code>
</visibility>
</share>';
$access_token = 'your access token';
$url = 'https://api.linkedin.com/v1/companies/7786995/shares?oauth2_access_token='.$access_token;
// build your message
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS,$strShare);
curl_setopt($ch, CURLOPT_HEADER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-type: application/xml','Connection: Keep-Alive'));
$response = curl_exec($ch);
$http_status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
if($http_status == 201){
echo true;
}else{
echo false;
}
}
I would like to add my voice to a request for this much-needed feature. We need to be able to use the Jetpack Social Media Icons to link to Linkedin business accounts on business websites!
Update: Looks like Jetpack Mechanic @jeherve actually provided a workaround in a thread here in the Wordpress Support forums.
You can hardcode a new LinkedIn Company page icon into the widget by putting the following code into your functions.php file. Just make sure to change the company name and URL to your own:
function jetpackme_linkedin_company_icon( $html_array ) {
return
$html_array +
array(
25 => // This key can be modified to change the order the new item will appear in the list
'<a title="Automattic" '
. 'href="https://www.linkedin.com/company/automattic" '
. 'class="genericon genericon-linkedin" target="_blank">'
. '<span class="screen-reader-text">Automattic Company Profile</span></a>'
);
}
add_filter( 'jetpack_social_media_icons_widget_array', 'jetpackme_linkedin_company_icon' );
As far as the key, it appears that this is the list, in increments of 10, based on the code here. Your first icon has a key of 20, second is 30, etc...:
'facebook' => array( 'Facebook', 'https://www.facebook.com/%s/' ),
'twitter' => array( 'Twitter', 'https://twitter.com/%s/' ),
'instagram' => array( 'Instagram', 'https://instagram.com/%s/' ),
'pinterest' => array( 'Pinterest', 'https://www.pinterest.com/%s/' ),
'linkedin' => array( 'LinkedIn', 'https://www.linkedin.com/in/%s/' ),
'github' => array( 'GitHub', 'https://github.com/%s/' ),
'vimeo' => array( 'Vimeo', 'https://vimeo.com/%s/' ),
'googleplus' => array( 'Google+', 'https://plus.google.com/u/0/%s/' ),
Google+ pages already work with this plugin. If you're having a problem you should open a separate issue.
@evelynriossf This issue is about using the Publicize plugin to share links to LinkedIn Company pages. Your post - while helpful - is about the Social Media Icons Widget. That's a separate issue.
@aensley My mistake. You are correct. It is a very similar issue for a separate Jetpack function.
Also suggested here: https://wordpress.org/support/topic/linkedin-support-1?replies=1&view=all
requested here 2686724-t
requested in 2700934-t
Please!!! Please!!! Make this a top priority! Pleeease!!!!!!
requested in 2704361-t
Common Automattic, I think it's high time you took this seriously.
I support this request!
To avoid repeating myself, I'll refer to my previous comment: https://github.com/Automattic/jetpack/issues/259#issuecomment-185819753
I just read all of these +1 comments. There has to be more value in posting to company pages than personal pages. Could we at least get a reasonable status report on this much-requested feature?
+1
+1
Also in 2819713-t
I support this request!
+1
2853698-t
2860995-t
+1
Actually, +10 -- if I could do that :-)
+1
+1
+1
+1
+1
+1
Publicize currently only connects to your personal account; we should allow connections to Company Pages (http://marketing.linkedin.com/company-pages/) as well.
Ported from https://plugins.trac.wordpress.org/ticket/1727