D
D
Dmitry Demidenko2017-10-02 13:39:50
Facebook
Dmitry Demidenko, 2017-10-02 13:39:50

How to remove caching when sharing in a social network?

Hello, I'm making a small service
At the last stage, there is an opportunity to share the result in social networks, but for some reason the picture is used by
default .
Maybe it's caching, how to solve the problem?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Philipp, 2017-10-02
@detriat

1. You need to make a separate page for each photo.
2. There is documentation for all social networks:

  • Facebook: Debugger , Documentation
  • VK
  • Twitter

S
Serezha, 2017-10-02
Ahen @Ahen

Add random hash to URL. When sharing the result, assign a unique id.
Or call https://vk.com/dev/pages.clearCache when updating the page.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question