PHPackages                             sandklock/soclall - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. sandklock/soclall

Abandoned → [sandklock/socialall](/?search=sandklock%2Fsocialall)Library[API Development](/categories/api)

sandklock/soclall
=================

SocialAll is one API for all networks

2.1.0(10y ago)0123PHPPHP &gt;=5.2.0

Since Sep 17Pushed 10y ago2 watchersCompare

[ Source](https://github.com/sandklock/soclall-api-php)[ Packagist](https://packagist.org/packages/sandklock/soclall)[ Docs](https://github.com/sandklock/soclall-api-php)[ RSS](/packages/sandklock-soclall/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (4)Used By (0)

SocialAll
=========

[](#socialall)

SocialAll API library for PHP

Note: [SocialAll](https://www.socialall.io) is an unified API for 15+ popular social networks that supports social login, posting (supported video &amp; photo), messaging and friends inviting.

Installation
------------

[](#installation)

```
$ composer require sandklock/socialall

```

Go to [SocialAll](https://www.socialall.io) and register an application for free.

Usage
-----

[](#usage)

```
require_once 'vendor/autoload.php';

$sa = new SocialAll\SocialAll($app_id, $secret_key);

error_log($sa->getLoginUrl('facebook', 'http://yourdomain.com/callback'));
```

API
---

[](#api)

```
$sa->getLoginUrl($network, $callback_url)
```

- `$network` -- `string` -- see [networks](#networks)
- `$callback_url` -- `string`
- returns `string` login url

```
$sa->getUser($token, $callback)
```

- `$token` -- `string`
- `$callback` -- `function ($err, $user)`

```
$sa->getFriends($token, $callback)
```

- `$token` -- `string` -- token given by SocialAll
- `$callback` -- `function ($err, $friends)`

```
$sa->postStream($token, $message, $callback)
```

- `$token` -- `string`
- `$message` -- `string`
- `$callback` -- `function ($err)`

```
$sa->sendMessage($token, $message, $friends, $title, $callback)
```

- `$token` -- `string`
- `$message` -- `string`
- `$friends` -- `array` -- list of friend's IDs
- `$title` -- `string`
- `$callback` -- `function ($err)`

Networks
--------

[](#networks)

- `disqus`
- `facebook`
- `foursquare`
- `github`
- `google`
- `lastfm`
- `linkedin`
- `live`
- `mailru`
- `plurk`
- `reddit`
- `tumblr`
- `twitter`
- `vkontakte`
- `wordpress`

Bugs and Issues
---------------

[](#bugs-and-issues)

If you encounter any bugs or issues, feel free to open an issue at [github](https://github.com/sandklock/soclall-api-php/issues).

Credits
-------

[](#credits)

[SandKlock](http://www.sandklock.com)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~21 days

Total

3

Last Release

3854d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ad5afaab10cec7ee7169a6307dbe7a412af69d9923d66e2a87ed78c95325ed25?d=identicon)[Sandklock](/maintainers/Sandklock)

---

Top Contributors

[![pnminh2004](https://avatars.githubusercontent.com/u/10804145?v=4)](https://github.com/pnminh2004 "pnminh2004 (11 commits)")[![sandklock](https://avatars.githubusercontent.com/u/10718640?v=4)](https://github.com/sandklock "sandklock (5 commits)")[![VyDoan92](https://avatars.githubusercontent.com/u/12795323?v=4)](https://github.com/VyDoan92 "VyDoan92 (5 commits)")[![dangh](https://avatars.githubusercontent.com/u/1020347?v=4)](https://github.com/dangh "dangh (1 commits)")[![royalgarter](https://avatars.githubusercontent.com/u/4363041?v=4)](https://github.com/royalgarter "royalgarter (1 commits)")

---

Tags

publishloginfriendPostingsoclallsocialall

### Embed Badge

![Health badge](/badges/sandklock-soclall/health.svg)

```
[![Health](https://phpackages.com/badges/sandklock-soclall/health.svg)](https://phpackages.com/packages/sandklock-soclall)
```

###  Alternatives

[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)[hubspot/api-client

Hubspot API client

23914.2M16](/packages/hubspot-api-client)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
