Ana Sayfa / Kod ve Scriptler / Facebook And Twitter Card Viewer - PHP Script

Facebook And Twitter Card Viewer - PHP Script

Herhangi bir URL'den meta etiketleri çekmek için PHP scripti + Kart Görüntüleyici

  • Yayın tarihi6 Nisan 2019
  • Nerede çalışırPHP 7.0, PHP 7.1, PHP 7.2, PHP 5.3, PHP 5.4, PHP 5.5, PHP 5.6
  • Paket içeriği.php, .css, JavaScript .js
  • Son güncelleme6 Nisan 2019
  • Canlı demoVar
Facebook And Twitter Card Viewer - PHP Script

Overview

Introduction

Facebook & Twitter Card Viewer is a PHP script that fetches meta data from any URL and previews a card in the browser.

Crawler

This script includes a rich crawler written in PHP. It crawls and get card-related meta data from any URL. It can even find endpoints of short URLs and get the data from the last URL. Also, the crawler is well-commented and can be easily modified to do more complicated tasks.

Card Preview

The preview is approximate. I have tried my best to recreate the view. But, with new updates of Facebook and Twitter this cards may vary. Currently, following types are supported

* Normal Facebook cards * Twitter summary cards * Twitter summary_large_image cards

For what?

  1. Learn: You can learn some things about crawling, fetching, handling redirects, cURL,
  2. Earn Money:You can host this script in your website and you can earn by showing ads in this page. Just signup to a advertising site (Ex: Adsense) then place your ad code at the bottom.
  3. For Debugging: You can use this script to debug your web pages, find if the card views are working fine. And, to check the meta tags.

FAQ

Can I use this for commercial purposes? Yes. Make sure you buy the extended license.

Can I easily customize this script? Of course, that's what I have designed this for.

Can I earn money from hosting this? Yes, there are many websites do the same thing.

Do I get support after buying this? Yes, I like to help my customers any time.

Features

  • Well-commented PHP Script
  • Built on an OOP model
  • Javascript is also commented when it comes to tricky things
  • Built on bootstrap and jquery
  • Crawler supports 301, 302 redirects
  • Fast fetcher
  • Card Previews
  • Meta tags previews
  • Supports facebook cards, twitter summary and summary_large_image cards
  • Supported in all the modern browsers

Requirements

  • PHP 5.3+
  • cURL extension