N
N
necotumusimnapsat2014-04-04 14:52:50
JavaScript
necotumusimnapsat, 2014-04-04 14:52:50

How to fix facebook like and share button issue?

I added a like and share button to the site, but, unfortunately, when you click on share on the site.ru-orders/6 page, Facebook shows the title of the main page instead of the title orders/6/
Is it possible to fix this?
Thanks for the replies.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
Misha Vasilyev, 2014-04-04
@vasilyev

Here is the Open Graph documentation. There you can change everything - title, picture, text.

M
Mu57Di3, 2014-04-05
@Mu57Di3

And here you can check if Facebook understands your Open Graph correctly.

R
Roman Kitaev, 2015-08-21
@deliro

Static should be served with the static tag:

{% load staticfiles %}
<link href="{% static 'some/path/some.file' %}">

But with all this, html is a template, not static, and should be rendered accordingly.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question