-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from konnectors/pagination
Add account_types definition & albums pagination
- Loading branch information
Showing
12 changed files
with
677 additions
and
344 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"_id": "facebook", | ||
"grant_mode": "authorization_code", | ||
"redirect_uri": "https://oauthcallback.cozy.tools/accounts/facebook/redirect", | ||
"token_mode": "basic", | ||
"token_endpoint": "https://graph.facebook.com/v2.12/oauth/access_token", | ||
"auth_endpoint": "https://www.facebook.com/v2.12/dialog/oauth", | ||
"client_id": "$COZY_FB_CLIENT_ID", | ||
"client_secret": "$COZY_FB_CLIENT_SECRET" | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,76 @@ | ||
{ | ||
"version": "0.1.0", | ||
"version": "1.0.0", | ||
"name": "Facebook", | ||
"type": "node", | ||
"type": "konnector", | ||
"language": "node", | ||
"slug": "facebook", | ||
"icon": "icon.svg", | ||
"source": "git://github.com/konnectors/cozy-konnector-facebook.git", | ||
"locales": { | ||
"fr": { | ||
"description": | ||
"Reprend la main sur vos données que vous avez données à Facebook : contacts, photos", | ||
"permissions": { | ||
"contacts": { | ||
"description": "Exigée pour sauvegarder les contacts" | ||
} | ||
"editor": "Cozy", | ||
"vendor_link": "https://facebook.com", | ||
"categories": ["other"], | ||
"data_types": ["pictures"], | ||
"oauth": { | ||
"account_type": "facebook", | ||
"scope": "user_photos" | ||
}, | ||
"fields": { | ||
"advancedFields": { | ||
"folderPath": { | ||
"advanced": true, | ||
"isRequired": false | ||
} | ||
} | ||
}, | ||
"permissions": { | ||
"albums": { | ||
"description": "Required to create the albums where the photo will be saved", | ||
"type": "io.cozy.photos.albums" | ||
}, | ||
"accounts": { | ||
"description": "Required to get the account's data", | ||
"type": "io.cozy.accounts" | ||
}, | ||
"files": { | ||
"description": "Required to save images", | ||
"type": "io.cozy.files" | ||
} | ||
}, | ||
"locales": { | ||
"fr": { | ||
"short_description": "Connecteur Facebook", | ||
"long_description": "Ce connecteur récupère les albums photos que vous avez publiés sur facebook.", | ||
"permissions": { | ||
"books": { | ||
"description": "Utilisé pour créer les albums ou sont sauvegardées les photos." | ||
}, | ||
"files": { | ||
"description": "Utilisé pour sauvegarder les photos." | ||
}, | ||
"accounts": { | ||
"description": "Utilisé pour obtenir les données du compte" | ||
} | ||
} | ||
}, | ||
"en": { | ||
"short_description": "Connector Facebook", | ||
"long_description": "This connector retrieves your facebook pictures albums.", | ||
"permissions": { | ||
"albums": { | ||
"description": "Required to create the albums where the photo will be saved", | ||
"type": "io.cozy.photos.albums" | ||
}, | ||
"accounts": { | ||
"description": "Required to get the account's data", | ||
"type": "io.cozy.accounts" | ||
}, | ||
"files": { | ||
"description": "Required to save images", | ||
"type": "io.cozy.files" | ||
} | ||
} | ||
} | ||
}, | ||
"langs": ["fr", "en"], | ||
"developer": { | ||
"name": "cozy", | ||
"url": "cozy.io" | ||
"name": "Cozy", | ||
"url": "https://cozy.io" | ||
} | ||
} |
Oops, something went wrong.