Skip to content
This repository was archived by the owner on Aug 22, 2023. It is now read-only.

Commit 51cdadb

Browse files
committed
Update 1.1 documentation
2 parents c4a2c0e + 7105565 commit 51cdadb

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

docs/getting-started/configurations.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,41 @@ You may add as much new middlewares as you want, as example the middleware for I
9191

9292
Shopper provide 2 folders for storage. The `uploads` folder contain all public and protected files that uploaded by administration forms \(products, categories, brands and users images\). The second folder `media` is for the `filemanager`. You nedd to create this folder in the Media Menu on Shopper admin dashboard.
9393

94+
## Social post API
95+
96+
```php
97+
<?php
98+
/*
99+
|--------------------------------------------------------------------------
100+
| Twitter API key
101+
|--------------------------------------------------------------------------
102+
|
103+
*/
104+
'twitter' => [
105+
'consurmer_key' => env('TWITTER_CONSUMER_KEY', ''),
106+
'consurmer_secret' => env('TWITTER_CONSUMER_SECRET', ''),
107+
'access_token' => env('TWITTER_ACCESS_TOKEN', ''),
108+
'access_token_secret' => env('TWITTER_ACCESS_TOKEN_SECRET', '')
109+
],
110+
111+
/*
112+
|--------------------------------------------------------------------------
113+
| Facebook API key
114+
|--------------------------------------------------------------------------
115+
|
116+
*/
117+
'facebook' => [
118+
'app_id' => env('FACEBOOK_APP_ID', ''),
119+
'app_secret' => env('FACEBOOK_APP_SECRET', ''),
120+
'default_graph_version' => env('FACEBOOK_DEFAULT_GRAPH_VERSION', ''),
121+
'page_access_token' => env('FACEBOOK_PAGE_ACCESS_TOKEN', '')
122+
],
123+
...
124+
125+
```
126+
127+
Twitter and Facebook setting is for manage social post on Facebook Page and/or Twitter account.
128+
94129
## Others config
95130

96131
Shopper has many other configurations files as we said. Shopper come with

0 commit comments

Comments
 (0)