定制 ddkits/ddkitsfacebook 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

ddkits/ddkitsfacebook

Composer 安装命令:

composer require ddkits/ddkitsfacebook

包简介

Facebook Page Poster by Sam Elayyoub, using custom table and custom functions to post to pages or groups on facebook.

README 文档

README

By Sam Elayyoub

1: Install Laravel 5.x

2: Composer require ddkits/ddkitsfacebook

3: Add DDkits within the service provider

- ...
'providers' => [
    /*
     * Application Service Providers...
     */
     ...
    Ddkits\Ddkitsfacebook\DdkitsfacebookServiceProvider::class,
],

4: In case of changing the theme

- php artisan vendor:publish --tag="Ddkits\Ddkitsfacebook\DdkitsfacebookServiceProvider"

5: Migrate the DB table needed for this Plugin

- php artisan migrate

6: Check the configs

- ddkitsfacebook.php got some extra configs for major uses
- Path: when calling the function "publishToPageNew($feed, $id)" posts on facebook would be linked to a path located in your site

requirements:

- Facebook app and Access_token https://developers.facebook.com/tools/explorer/

- Posts/blogs or feeds fields
    - title
    - path (slug of your site if using ID please create the slug field and copy the id into it)
    - image (your post image)

Usage: ../admin-ddkits-facebook (must be a logged in user, using Auth::id())

- ...
use Ddkits\Ddkitsfacebook;

...
$feed ==> is the page or node you are posting link to facebook

Ddkitsfacebook::publishToPageNew($feed, $id);

- Can be used as schedule cron too.

Done!!!

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-03-30

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固