2023-02-28 12:27:16 +01:00
|
|
|
# OP Instagram
|
|
|
|
|
## Installation
|
|
|
|
|
```
|
|
|
|
|
cp .env.example .env
|
|
|
|
|
php artisan key:generate
|
|
|
|
|
```
|
|
|
|
|
Remplir la connexion à la base de données puis :
|
|
|
|
|
```
|
|
|
|
|
php artisan migrate
|
|
|
|
|
```
|
|
|
|
|
## Get Top Medias
|
|
|
|
|
.env
|
|
|
|
|
```
|
|
|
|
|
FACEBOOK_GRAPH_ACCESS_TOKEN=""
|
2023-04-21 14:49:53 +00:00
|
|
|
FACEBOOK_GRAPH_ENDPOINT_IG_TOPMEDIA_HASHTAGID=
|
2023-02-28 12:27:16 +01:00
|
|
|
FACEBOOK_GRAPH_ENDPOINT_IG_TOPMEDIA_USERID=
|
2023-04-21 14:49:53 +00:00
|
|
|
# The amount of media to acquire
|
|
|
|
|
FACEBOOK_GRAPH_ENDPOINT_IG_TOPMEDIA_NBMEDIA=
|
2023-02-28 12:27:16 +01:00
|
|
|
```
|
|
|
|
|
|
2023-04-21 14:49:53 +00:00
|
|
|
### TODO:
|
|
|
|
|
- Permettre la recherche d'un hashtag et d'utiliser son id pour topMediaList
|
|
|
|
|
- Refresh le token en automatique si detection expired
|