Chiar daca afiseaza acel text in patratel ma trimite pe linkul corect, doar ca nu afiseaza ce trebuie.
Nu inteleg unde am gresit
Problema cu facebook sharer. [rezolvat]
Moderators: Moderatori ajutatori, Moderatori
- k i n g
- Utilizator neserios (tepar)
- Posts: 3092
- Joined: 17 Sep 2012, 12:23
- Detinator Steam: Da
- CS Status: x
- Reputatie: Fost moderator ajutator
Restrictie moderator
Nume anterior: k1NNG , TheKing
1.5/3
Utilizator neserios ( tepar ) - Location: Pitesti
- Has thanked: 34 times
- Been thanked: 101 times
și codul butonului de share unde e?
<meta property="og:url" content="https://test.com">
<meta property="og:url" content="https://test.com">
-
- Fost administrator
- Posts: 13712
- Joined: 09 Oct 2010, 12:39
- Detinator Steam: Da
- CS Status: In grajd!
- SteamID: kalulord
- Reputatie: Fost Administrator
Fost membru Club eXtreamCS (6 luni)
Nume anterior: Terra - Location: Romania, Ploiesti
- Has thanked: 328 times
- Been thanked: 646 times
- Contact:
Este si ala dar nu inteleg de ce face asak i n g wrote:și codul butonului de share unde e?
<meta property="og:url" content="https://test.com">
Code: Select all
$actual_link = (isset($_SERVER['HTTPS']) ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
Cu debugger de la ei la fel, acelasi rezultat.<div class="fb-like" data-href="<?php print $actual_link; ?>" data-colorscheme="dark" data-layout="button_count" data-action="like" data-size="large" data-show-faces="true" data-share="true"></div>
https://image.prntscr.com/image/202c1b4 ... 0480df.png
- k i n g
- Utilizator neserios (tepar)
- Posts: 3092
- Joined: 17 Sep 2012, 12:23
- Detinator Steam: Da
- CS Status: x
- Reputatie: Fost moderator ajutator
Restrictie moderator
Nume anterior: k1NNG , TheKing
1.5/3
Utilizator neserios ( tepar ) - Location: Pitesti
- Has thanked: 34 times
- Been thanked: 101 times
adaugă
<meta property="og:url" content="<?= "http://". $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; ?>" />
în loc de adresa ta url și vezi dacă merge.
https://developers.facebook.com/tools/d ... %2520Danut
apare ok văd
-
- Fost administrator
- Posts: 13712
- Joined: 09 Oct 2010, 12:39
- Detinator Steam: Da
- CS Status: In grajd!
- SteamID: kalulord
- Reputatie: Fost Administrator
Fost membru Club eXtreamCS (6 luni)
Nume anterior: Terra - Location: Romania, Ploiesti
- Has thanked: 328 times
- Been thanked: 646 times
- Contact:
k i n g wrote:
adaugă
<meta property="og:url" content="<?= "http://". $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; ?>" />
în loc de adresa ta url și vezi dacă merge.
https://developers.facebook.com/tools/d ... %2520Danut
apare ok văd
In sfarsit s-a rezolvat, mersi oricum king :P
Am facut scrape manual la link-uri, pff