-
Notifications
You must be signed in to change notification settings - Fork 1
/
app.json
68 lines (68 loc) · 2.31 KB
/
app.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"name": "igfeed-proxy",
"description": "A cached proxy application based on Instagram Basic Display API",
"repository": "https://github.com/Faylixe/igfeed-proxy",
"keywords": [
"instagram",
"token",
"basic-display-api",
"instafeed"
],
"env": {
"IGFP_APPLICATION_ID": {
"description": "Instagram application id",
"required": true,
"value": ""
},
"IGFP_APPLICATION_SECRET": {
"description": "Instagram application secret",
"required": true,
"value": ""
},
"IGFP_DOMAIN": {
"description": "Target domain on which this application will live",
"required": true,
"value": "yourapp.herokuapp.com"
},
"IGFP_CORS_ORIGINS": {
"description": "Allowed URL for CORS API requests",
"required": true,
"value": "https://domain1.tld"
},
"IGFP_PROTOCOL": {
"description": "Either HTTP or HTTPS, (leave default HTTPS)",
"required": true,
"value": "https"
},
"IGFP_MEDIA_FIELDS": {
"description": "GraphQL specification of field to retrieve for media fetching",
"required": true,
"value": "caption,id,media_type,media_url,permalink,thumbnail_url,timestamp,username,children{id,media_type,media_url,permalink,thumbnail_url,timestamp,username}"
},
"IGFP_MEDIA_REFRESH_DELAY": {
"description": "Delay between Instagram media cache invalidation",
"required": true,
"value": "300"
},
"IGFP_SCOPES": {
"description": "List of OAuth scope to authorize for Instagram API usage",
"required": true,
"value": "user_media,user_profile"
},
"IGFP_TOKEN_REFRESH_DELAY": {
"description": "Delay for long lived API token invalidation",
"required": true,
"value": "user_media,user_profile"
},
"IGFP_AUTO_PING_DELAY": {
"description": "Delay in minutes between two auto ping (to avoid dyno idling",
"required": true,
"value": "5"
},
},
"buildpacks": [
{
"url": "heroku/python"
}
]
}