jessicadigital/social-feed 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

jessicadigital/social-feed

Composer 安装命令:

composer require jessicadigital/social-feed

包简介

Get feeds from different social networks in a unified format

关键字:

README 文档

README

Get feeds from different social networks in a unified format.

Install

Use composer: composer require jessicadigital/social-feed

Features

  • Get the most recent posts of a user
  • Get a specific item based on an ID
  • Implemented media: Facebook, Instagram, Pinterest, Twitter, YouTube
  • Returns items in simple format
  • Gets information (id, service, thumbnail) on attached video/images from: youtube, vine, instagram, vimeo
  • Get an id from an url of a post

Example

Twitter

$twitter = new JessicaDigital\SocialFeed\Services\TwitterService(array(
  'access_token' => 'xxx',
  'access_token_secret' => 'xxx',
  'consumer_key' => 'xxx',
  'consumer_secret' => 'xxx'
));
$feed = $twitter->getFeed('jessica_digital');

Credentials

The following credentials are needed depending on the medium:

  • Facebook: app_id, app_secret
  • Instagram: client_id, client_secret
  • Pinterest: [none]
  • Twitter: consumer_key, consumer_secret, access_token, access_token_secret
  • Youtube: api_key

Usage

The services provided through this package query various social service APIs. In the interests of service availability, please use this package to fetch data at scheduled intervals, e.g. using a CRON job, and caching the data on your server. The easiest way to cache data is to write the JSON feed to a text file, e.g.

file_put_contents($filename, json_encode($data));

统计信息

  • 总下载量: 108
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 16
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-03-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固