|
@@ -101,61 +101,6 @@ Authenticates and Uploads from Dropbox through Companion:
|
|
|
- Companion reports progress to Uppy, as if it were a local upload.
|
|
|
- Completed!
|
|
|
|
|
|
-### Instagram integration
|
|
|
-
|
|
|
-Even though facebook
|
|
|
-[allows using](https://developers.facebook.com/blog/post/2018/06/08/enforce-https-facebook-login/)
|
|
|
-http://localhost in dev mode, Instagram doesn’t seem to support that, and seems
|
|
|
-to need a publically available domain name with HTTPS. So we will tunnel
|
|
|
-requests to localhost using `ngrok`.
|
|
|
-
|
|
|
-Make sure that you are using a development facebook app at
|
|
|
-<https://developers.facebook.com/apps>
|
|
|
-
|
|
|
-Go to “Instagram Basic Display” and find `Instagram App ID` and
|
|
|
-`Instagram App Secret`. Put them in a file called `.env` in the repo root:
|
|
|
-
|
|
|
-```
|
|
|
-COMPANION_INSTAGRAM_KEY="Instagram App ID"
|
|
|
-COMPANION_INSTAGRAM_SECRET="Instagram App Secret"
|
|
|
-```
|
|
|
-
|
|
|
-**Note!** `ngrok` seems to be blocked by Instagram now, so you may have to find
|
|
|
-an alternative.
|
|
|
-
|
|
|
-Run
|
|
|
-
|
|
|
-```bash
|
|
|
-ngrok http 3020
|
|
|
-```
|
|
|
-
|
|
|
-Note the ngrok https base URL, for example `https://e0c7de09808d.ngrok.io` and
|
|
|
-append `/instagram/redirect` to it, such as:
|
|
|
-
|
|
|
-```
|
|
|
-https://e0c7de09808d.ngrok.io/instagram/redirect
|
|
|
-```
|
|
|
-
|
|
|
-Add this full ngrok URL to `Valid OAuth Redirect URIs` under
|
|
|
-`Instagram Basic Display`.
|
|
|
-
|
|
|
-Edit `.env` and change to your ngrok URI:
|
|
|
-
|
|
|
-```
|
|
|
-COMPANION_DOMAIN="e0c7de09808d.ngrok.io"
|
|
|
-COMPANION_PROTOCOL="https"
|
|
|
-VITE_COMPANION_URL = 'https://e0c7de09808d.ngrok.io'
|
|
|
-```
|
|
|
-
|
|
|
-Go to: Roles -> Roles -> Add Instagram testers -> Add your instagram account
|
|
|
-
|
|
|
-Go to your instagram account at
|
|
|
-<https://www.instagram.com/accounts/manage_access/>
|
|
|
-
|
|
|
-Tester invites -> Accept
|
|
|
-
|
|
|
-Now you should be able to test the Instagram integration.
|
|
|
-
|
|
|
### Requiring files
|
|
|
|
|
|
- If we are `require()`ing a file from the same subpackage, we can freely use
|
|
@@ -213,18 +158,6 @@ To generate the boilerplate for a new test run:
|
|
|
yarn e2e:generate
|
|
|
```
|
|
|
|
|
|
-## Zoom
|
|
|
-
|
|
|
-See above Instagram instructions for setting up a tunnel, but replace
|
|
|
-`instagram` with `zoom` in the URL. Note that **you also have to add the OAuth
|
|
|
-redirect URL to `OAuth allow list`** in the Zoom Oauth app settings or it will
|
|
|
-not work.
|
|
|
-
|
|
|
-Add the following scopes: `recording:read`, `user:read`, `user_info:read`
|
|
|
-
|
|
|
-To test recording a meeting, you need to sign up for a Zoom Pro trial (can be
|
|
|
-cancelled later), for example using their iOS app.
|
|
|
-
|
|
|
## Releases
|
|
|
|
|
|
Releases are managed by GitHub Actions, here’s an overview of the process to
|