Answer the question
In order to leave comments, you need to log in
What is the most logical way to display the number of URL widths in a pass-through block?
There is a through block, it is on all pages. This is the acros view
Connected as @include('layouts.across')
It contains a block with buttons to share the site, exactly the link that the page is open.
To get the number of shared, you need to make a request to the service for example VK
https://vk.com/share.php?act=count&index=1&url=htt...
it will return the answer. It turns out you need to do this before rendering the page.
How to make a request before opening any page and pass an array with responses to the view?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question