Laravel / Vuejs Linked Share
I want to share my current page (If laravel) or share post (if VUE js). I have added the og
tags in head. Image and title is getting shared but description not.
Is there anything which i need to add to share description.
Following is my Head tag code
<meta prefix="og: http://ogp.me/ns#" property="og:title" content="B1G1: Business for Good" />
<meta prefix="og: http://ogp.me/ns#" property="og:description" content="0 school meals to children in need in India were given." />
<meta prefix="og: http://ogp.me/ns#" property="og:type" content="Test" />
<meta prefix="og: http://ogp.me/ns#" property="og:image" content="https://api.b1g1.com/uploads/projects/10/1436419809_proj_sq_10.jpg" />
<meta prefix="og: http://ogp.me/ns#" property="og:url" content="http://127.0.0.1:8000/testing" />
And Share link is like
<button onclick="window.open('https://www.linkedin.com/shareArticle?url={{url}}','_blank', 'width=600, height=600'); return false;">Share</button>
Did i missed anything?
I have added the current format of Share page.
Thanks in Advance
jquery laravel vuejs2 laravel-5.5
add a comment |
I want to share my current page (If laravel) or share post (if VUE js). I have added the og
tags in head. Image and title is getting shared but description not.
Is there anything which i need to add to share description.
Following is my Head tag code
<meta prefix="og: http://ogp.me/ns#" property="og:title" content="B1G1: Business for Good" />
<meta prefix="og: http://ogp.me/ns#" property="og:description" content="0 school meals to children in need in India were given." />
<meta prefix="og: http://ogp.me/ns#" property="og:type" content="Test" />
<meta prefix="og: http://ogp.me/ns#" property="og:image" content="https://api.b1g1.com/uploads/projects/10/1436419809_proj_sq_10.jpg" />
<meta prefix="og: http://ogp.me/ns#" property="og:url" content="http://127.0.0.1:8000/testing" />
And Share link is like
<button onclick="window.open('https://www.linkedin.com/shareArticle?url={{url}}','_blank', 'width=600, height=600'); return false;">Share</button>
Did i missed anything?
I have added the current format of Share page.
Thanks in Advance
jquery laravel vuejs2 laravel-5.5
You have not stated what the issue that you are having is.
– Josh
Nov 23 '18 at 17:25
Hi Josh. My issue is, i want to share the description too which is not getting display when i open share screen
– Akshay Deshmukh
Nov 26 '18 at 7:05
add a comment |
I want to share my current page (If laravel) or share post (if VUE js). I have added the og
tags in head. Image and title is getting shared but description not.
Is there anything which i need to add to share description.
Following is my Head tag code
<meta prefix="og: http://ogp.me/ns#" property="og:title" content="B1G1: Business for Good" />
<meta prefix="og: http://ogp.me/ns#" property="og:description" content="0 school meals to children in need in India were given." />
<meta prefix="og: http://ogp.me/ns#" property="og:type" content="Test" />
<meta prefix="og: http://ogp.me/ns#" property="og:image" content="https://api.b1g1.com/uploads/projects/10/1436419809_proj_sq_10.jpg" />
<meta prefix="og: http://ogp.me/ns#" property="og:url" content="http://127.0.0.1:8000/testing" />
And Share link is like
<button onclick="window.open('https://www.linkedin.com/shareArticle?url={{url}}','_blank', 'width=600, height=600'); return false;">Share</button>
Did i missed anything?
I have added the current format of Share page.
Thanks in Advance
jquery laravel vuejs2 laravel-5.5
I want to share my current page (If laravel) or share post (if VUE js). I have added the og
tags in head. Image and title is getting shared but description not.
Is there anything which i need to add to share description.
Following is my Head tag code
<meta prefix="og: http://ogp.me/ns#" property="og:title" content="B1G1: Business for Good" />
<meta prefix="og: http://ogp.me/ns#" property="og:description" content="0 school meals to children in need in India were given." />
<meta prefix="og: http://ogp.me/ns#" property="og:type" content="Test" />
<meta prefix="og: http://ogp.me/ns#" property="og:image" content="https://api.b1g1.com/uploads/projects/10/1436419809_proj_sq_10.jpg" />
<meta prefix="og: http://ogp.me/ns#" property="og:url" content="http://127.0.0.1:8000/testing" />
And Share link is like
<button onclick="window.open('https://www.linkedin.com/shareArticle?url={{url}}','_blank', 'width=600, height=600'); return false;">Share</button>
Did i missed anything?
I have added the current format of Share page.
Thanks in Advance
jquery laravel vuejs2 laravel-5.5
jquery laravel vuejs2 laravel-5.5
asked Nov 23 '18 at 10:19
Akshay DeshmukhAkshay Deshmukh
413517
413517
You have not stated what the issue that you are having is.
– Josh
Nov 23 '18 at 17:25
Hi Josh. My issue is, i want to share the description too which is not getting display when i open share screen
– Akshay Deshmukh
Nov 26 '18 at 7:05
add a comment |
You have not stated what the issue that you are having is.
– Josh
Nov 23 '18 at 17:25
Hi Josh. My issue is, i want to share the description too which is not getting display when i open share screen
– Akshay Deshmukh
Nov 26 '18 at 7:05
You have not stated what the issue that you are having is.
– Josh
Nov 23 '18 at 17:25
You have not stated what the issue that you are having is.
– Josh
Nov 23 '18 at 17:25
Hi Josh. My issue is, i want to share the description too which is not getting display when i open share screen
– Akshay Deshmukh
Nov 26 '18 at 7:05
Hi Josh. My issue is, i want to share the description too which is not getting display when i open share screen
– Akshay Deshmukh
Nov 26 '18 at 7:05
add a comment |
1 Answer
1
active
oldest
votes
Change your button code to below (change out the variables as needed) and you can send the comment also
<button onclick="window.open('https://www.linkedin.com/shareArticle?url={{url}}&summary={{description}}&title={{title}}','_blank', 'width=600, height=600'); return false;">Share</button
for more details about the information that you can send
https://developer.linkedin.com/docs/share-on-linkedin and go to "Customised URL"
Hope that helps
Tried. But instead of description it shows URL
– Akshay Deshmukh
Nov 26 '18 at 12:02
OK a couple of things. Make sure your variables and url-encoded and add this to the end&mini=1
– Josh
Nov 26 '18 at 12:05
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53444782%2flaravel-vuejs-linked-share%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Change your button code to below (change out the variables as needed) and you can send the comment also
<button onclick="window.open('https://www.linkedin.com/shareArticle?url={{url}}&summary={{description}}&title={{title}}','_blank', 'width=600, height=600'); return false;">Share</button
for more details about the information that you can send
https://developer.linkedin.com/docs/share-on-linkedin and go to "Customised URL"
Hope that helps
Tried. But instead of description it shows URL
– Akshay Deshmukh
Nov 26 '18 at 12:02
OK a couple of things. Make sure your variables and url-encoded and add this to the end&mini=1
– Josh
Nov 26 '18 at 12:05
add a comment |
Change your button code to below (change out the variables as needed) and you can send the comment also
<button onclick="window.open('https://www.linkedin.com/shareArticle?url={{url}}&summary={{description}}&title={{title}}','_blank', 'width=600, height=600'); return false;">Share</button
for more details about the information that you can send
https://developer.linkedin.com/docs/share-on-linkedin and go to "Customised URL"
Hope that helps
Tried. But instead of description it shows URL
– Akshay Deshmukh
Nov 26 '18 at 12:02
OK a couple of things. Make sure your variables and url-encoded and add this to the end&mini=1
– Josh
Nov 26 '18 at 12:05
add a comment |
Change your button code to below (change out the variables as needed) and you can send the comment also
<button onclick="window.open('https://www.linkedin.com/shareArticle?url={{url}}&summary={{description}}&title={{title}}','_blank', 'width=600, height=600'); return false;">Share</button
for more details about the information that you can send
https://developer.linkedin.com/docs/share-on-linkedin and go to "Customised URL"
Hope that helps
Change your button code to below (change out the variables as needed) and you can send the comment also
<button onclick="window.open('https://www.linkedin.com/shareArticle?url={{url}}&summary={{description}}&title={{title}}','_blank', 'width=600, height=600'); return false;">Share</button
for more details about the information that you can send
https://developer.linkedin.com/docs/share-on-linkedin and go to "Customised URL"
Hope that helps
answered Nov 26 '18 at 7:21
JoshJosh
718318
718318
Tried. But instead of description it shows URL
– Akshay Deshmukh
Nov 26 '18 at 12:02
OK a couple of things. Make sure your variables and url-encoded and add this to the end&mini=1
– Josh
Nov 26 '18 at 12:05
add a comment |
Tried. But instead of description it shows URL
– Akshay Deshmukh
Nov 26 '18 at 12:02
OK a couple of things. Make sure your variables and url-encoded and add this to the end&mini=1
– Josh
Nov 26 '18 at 12:05
Tried. But instead of description it shows URL
– Akshay Deshmukh
Nov 26 '18 at 12:02
Tried. But instead of description it shows URL
– Akshay Deshmukh
Nov 26 '18 at 12:02
OK a couple of things. Make sure your variables and url-encoded and add this to the end
&mini=1
– Josh
Nov 26 '18 at 12:05
OK a couple of things. Make sure your variables and url-encoded and add this to the end
&mini=1
– Josh
Nov 26 '18 at 12:05
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53444782%2flaravel-vuejs-linked-share%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
You have not stated what the issue that you are having is.
– Josh
Nov 23 '18 at 17:25
Hi Josh. My issue is, i want to share the description too which is not getting display when i open share screen
– Akshay Deshmukh
Nov 26 '18 at 7:05