Download the PHP package goldfinch/social-media without Composer

On this page you can find all versions of the php package goldfinch/social-media. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package social-media

🦅 Social Feed, Facebook, Instagram API for Silverstripe

Silverstripe Version Package Version Total Downloads License

Meta

Social media Meta Integration for Silverstripe. Fetch and display Facebook/Instagram posts as a feed on your website. Easy to customize.

Install

1. Create Meta App

developers.facebook.com/apps/creation

2. Generate encryption key

All sensitive data that comes from Meta (ID,secret,tokens) are being encrypted in the database. Therefore we need a key. You can generate it using Taz🌪️ module by running CLI command:

or dumping helper function

3. Save the key in .env

4. Set up a Facebook Feed

✅ Make sure to Save it. All set to go 🎉

To get Long-Lived Access Token click Get button or run /dev/tasks/SocialMediaToken

To fetch posts, run the task by clicking the Sync button on the same page or jump on /dev/tasks/SocialMediaSync

5. Set up an Instagram Feed

✅ Make sure to Save it. All set to go 🎉

To fetch posts, run the task by clicking the Sync button on the same page or jump on /dev/tasks/SocialMediaSync

Cron tasks

You might want to set up cron tasks for automation

Usage

Mixed social feed with Facebook & Instagram posts (sorted by post date)

Facebook feed only

Facebook posts as ArrayList

Instagram feed only

Instagram posts as ArrayList

Templates and modifications

To modify templates for your needs, copy them into your templates folder. Use Taz command that does that for you

If you haven't used Taz🌪️ before, taz file must be presented in your root project folder cp vendor/goldfinch/taz/taz taz

Elemental Block

If you use silverstripe-elemental, this module comes with Social Media block that handles social feeds for you

Useful data

Social link fields

You can also store social links with this module Social media > Main

Instagram fields

Facebook fields

Previews

API settings

Demo social feed output

License

The MIT License (MIT)


All versions of social-media with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
silverstripe/framework Version ^5.0
silverstripe/admin Version ^2.0
goldfinch/helpers Version ^2.0
goldfinch/date Version ^1.0
lekoala/silverstripe-encrypt Version dev-master
goldfinch/silverstripe-jsontext Version ^2.1
guzzlehttp/guzzle Version ^7.7
unclecheese/display-logic Version ^3.0
jonom/silverstripe-someconfig Version ^1.0
silverstripe/crontask Version ^3.0
dnadesign/silverstripe-elemental Version ^5.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package goldfinch/social-media contains the following files

Loading the files please wait ....