Social-media-app is an application that lets users schedule and post to Social Media.
- Post your status to selected social media (Twitter,Facebook)
Clone this repo to your desktop and run composer update to install all the dependencies.
You must want to look
lib/config/FbConfig.php,
lib/config/TwitterConfig.php
to configuration like bellow.
- FbConfig.php add your facebook configuration detail bellow array.
return [
'appId'=>'Your app id', // appId from your facebook app
'secret'=>'Your secrt', // secret from your facebook app
'accessToken'=>'your access Token', // accessToken from your facebook app
];
- TwitterConfig.php add your twitter configuration detail bellow array.
return [
'oauth_access_token'=>'your auth access token',
'oauth_access_token_secret'=>'your auth access token secret',
'consumer_key'=>'your consumer key',
'consumer_secret'=>'your consumer secret',
'url_postStatusUpdate'=>'https://api.twitter.com/1.1/statuses/update.json'
];
After you clone this repo to your desktop, go to its root directory and run composer update to install its dependencies.
Once the dependencies are installed, you can add your configuration data mentioned mentioned above.
Then you can update your status on Twitter and facebook walls as you wish.