Fred#4346f29d Friday 2nd June 2017, 20:19:31
Fred#4346f29d Saturday 3rd June 2017, 15:16:35
Good !AlexanderLiebrecht Sunday 4th June 2017, 04:42:16
<?php
require_once __DIR__.'/vendor/autoload.php';
use Heise\Shariff\Backend;
/**
* Demo Application using Shariff Backend
*/
class Application
{
/**
* Sample configuration
*
* @var array
*/
private static $configuration = [
'cache' => [
'ttl' => 60,
'cacheDir' => 'tmp'
],
'domains' => [
'flatboard.wpzweinull.ch',
'www.ct.de'
],
'services' => [
'GooglePlus',
'Facebook',
'LinkedIn',
'Reddit',
'StumbleUpon',
'Flattr',
'Pinterest',
'Xing',
'AddThis'
]
];
public static function run()
{
header('Content-type: application/json');
$url = isset($_GET['url']) ? $_GET['url'] : '';
if ($url) {
$shariff = new Backend(self::$configuration);
echo json_encode($shariff->get($url));
} else {
echo json_encode(null);
}
}
}
Application::run();
'cache' => [
'ttl' => 60,
'cacheDir' => 'tmp'
Fred#4346f29d Sunday 4th June 2017, 19:09:47
Thank a lot Alexander,AlexanderLiebrecht Monday 5th June 2017, 12:16:24
private static $configuration = [
'cache' => [
'ttl' => 60,
'cacheDir' => 'tmp'
],
'domains' => [
'flatboard.wpzweinull.ch'
],
'services' => [
'GooglePlus',
'Facebook',
'LinkedIn',
'Reddit',
'StumbleUpon',
'Flattr',
'Pinterest',
'Xing',
'AddThis'
]
];
AlexanderLiebrecht Tuesday 6th June 2017, 03:06:40
Simon Wednesday 24th January 2018, 07:45:48
The "backend" button does not work :Suggested Topics | View / Reply | Forum |
---|---|---|
AlexanderLiebrecht started plugin Mail Notification of new Topic Replies | 1.8K / 4 | Feature Requests |
Simon started 🇫🇷 Faire une page externe | 2.8K / 10 | International Discussions |
Balistic#423165 started 🇫🇷 Plugin pour mettre un délai entre réponses | 1.2K / 1 | International Discussions |
AlexanderLiebrecht started plugin Forum Signature Plugin for Flatboard Forum | 1.4K / 3 | Feature Requests |