Download the PHP package jcsp/social-sdk without Composer

On this page you can find all versions of the php package jcsp/social-sdk. 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-sdk

Jcsp Social Sdk

Jscp Social Sdk Component

Installation

Require this package, with composer, in the root directory of your project.

Please note that this library requires at least PHP 7.2 installed.

Usage

Init the Client Instance

Use the bellow codes to init the client instance.

Some functions need to provide access token data, so must pass the $accessToken object.

Authorization

Generate Authorization Url

Get Access Token

Refresh Access Token

User

Get User Profile

Channel

Different platforms have different names for describing the area for sharing contents, like channel in Youtube, like page in Facebook, board in Pinterest, etc. For Convenient, here use the word channel to unity the name.

Get Channel List

Share

Can share to user

Can share to channel

Share Video

Simulate Share

Use the other way to share content.

Create Simulate Client

Get Account List

Get a list of the active accounts.

Make Simulate Video Post

To Make the simulate video post, in fact the simulate server would generate a task and return it. Save the task if which the method returned.

Handle Simulate Post Callback

After a simulate post finished, the simulate server would make post's type call the callback url which specified above, to notify the client server the result about post task.

Query A Task Info

It's hard to guarantee the callback handler always runs stably, so here provide a method to query task info manually.

Task Status

See the class \Jcsp\SocialSdk\ModelSimulatePostTask

LICENSE

The Component is open-sourced software licensed under the Apache license.


All versions of social-sdk with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2
ext-json Version *
ext-fileinfo Version *
ext-curl Version *
abraham/twitteroauth Version ^1.0
dirkgroenen/pinterest-api-php Version ^0.2.12
facebook/graph-sdk Version ^5.7
google/apiclient Version ^2.0
guzzlehttp/guzzle Version ^6.5
tumblr/tumblr Version ^0.4.0
vimeo/vimeo-api Version ^3.0
vkcom/vk-php-sdk Version ^5.101
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 jcsp/social-sdk contains the following files

Loading the files please wait ....