"How to complete Instagram API review?" - facebook

I am working on creating an App to manage comments on my Instagram account, I will use webhooks to get live comments notifications and if I found those comments abusive I will delete them, but to use webhooks live notifications I need to do app review and in app review, they are asking a video on how I will be using my app, but without webhooks notifications, I cannot show them how I will be using it.
Can someone tell me how I will move forward from here?

Related

Publishing videos on TikTok using TikTok API?

This has been a big mystery to me so I'm gonna ask here in a hope that someone can help me with it.
So, I'm trying to use the TikTok API to Auto Publish videos onto TikTok's account.
I cannot find any information about this on their API docs.
So I did a research and found out that other companies like 'Later' or 'HootSuit' have this Auto Publishing feature for TikTok.
So I signed up on Later to test how they do it. I found out that there are these Scopes/Permissions being used:
user.info.basic,
user.insights,
video.list,
video.insights,
comment.list,
comment.list.manage,
video.publish
and I found those from the URL when I allowed the Later TikTok App to be added to my TikTok account:
https://www.tiktok.com/auth/authorize?client_id=7051484449883553794&client_key=7051484449883553794&redirect_uri=https%3A%2F%2Fapp.later.com%2Fusers%2Fauth%2Ftiktok_business%2Fcallback%3Fstate%3De0af91a683a02ec0636ee1b42e6e9caf60ccc8295252260b&response_type=code&scope=user.info.basic%2Cuser.insights%2Cvideo.list%2Cvideo.insights%2Ccomment.list%2Ccomment.list.manage%2Cvideo.publish&state=e0af91a683a02ec0636ee1b42e6e9caf60ccc8295252260b
My TikTok app (this is the API app), asks for these permissions:
user.info.basic,
video.upload,
Now, I know that is the fist and most probably the main issue here BUT I don't have any option to add those Scopes to my App!
The only scopes that TikTok API mentions and talks about are these:
user.info.basic
video.list
video.upload
which you can see here:
https://developers.tiktok.com/doc/tiktok-api-scopes/
My app now only uploads the video on the users account and the users get a push notification on their app asking them to login to their account and edit/pulish the video!
So there is no auto publishing.
Just to clarify, the user's account is a business account as well as this is a requirement for the TikTok auto publishing to work.
The question is, where and how I can add those scopes/permissions to my App?
are there any other steps that I need to take?
Since you are using a Tiktok Business account, may you should rather use the Marketing APi (https://ads.tiktok.com/marketing_api/docs?id=1753986142651394)
This has video publish scopes too and is a lot different from the Tiktok API you get from Tiktok for developers.
Note:
Tiktok for developers API is geared towards general use, while the Marketing API is for Businesses, hence more features.
Caution
JFYI, If you have a business account, you cannot monetize the content. I am facing the same issue, but i cant move to business account(and Marketing API) for that reason.

Page Webhooks + Messenger Event

Rookie facebook api/developer user here. I have a couple questions hoping someone can shed some light on.
My use-case:
Facebook page user leaves rating/review
App receives webhook event with information about webhook event
(https://developers.facebook.com/docs/graph-api/webhooks/reference/page)
Using that event info, we initiate a messenger chat conversation with
the user
This seems like a common scenario.
My understanding of what needs to be done:
Create a facebook app
Add page webhooks product to app (specifically subscribe to ratings
event)
Wire up webhooks to my API (exposed via ngrok)
Add messenger product to app
...Somehow initiate convo with user (using reviewer_id??)
Does anyone have a good description of how to do this from end-to-end?
I have done most of this, but I cannot figure out how to do this in the test/sandbox facebook. Do I need to create a test version of my app, create a test page, and then use the graph api to subscribe the test app to the test page?
Thanks guys. The docs are nice and all, but there's no detailed directions on testing this end-to-end on the sandbox facebook. I don't have time to wait for an app review to test the functionality.
Thanks in advance!

App review is required to get Facebook Webhook working. How to develop?

I'm developing an app which must interact with Facebook API Graph and also use webhooks to get live updates. Now I'm facing a problem I can't receive a live webhook updates until my app is reviewed and is not in development mode.
I've found a thread on a Fecebook for developers site describing the same problem and it got official answer - it is not possible. Use Test button in app dashboard to test your webhook implementation they said.
The problem is the Test button sends only one predefined data packet for each of possible subscription with predefined set of fields with fake values, but documentation defines much more fields and little to none information about which fields are sent in different situations (i.e. post added, comment deleted, comment edited).
I'm wondering how other devs solving this? May be there are some community driven reference for a different webhook interaction cases or else.
For now I can't find any information on detailed webhook format except official documentation on available fields (but not supported payload shapes).
Our current workflow looks this way:
create test app
implement webhook handler using only documentation
prepare test payload and check it is working
create a screencast of the app functionality using test payloads
go through the review process
when app is approved
make it live and check your implementation against real webhook payloads
You need to create a test app for your existing Facebook app
Once you do this, just accept the permissions for your app and set the webhooks on your own Facebook account.
Since you are an admin of the test app, you will be able to set webhooks on yourself without having to get your app approved.

Change Facebook Messenger webhook url without FB re-reviewing application

Is it possible to change my Facebook Messenger webhook URL without having FB to review again my application (since it takes a couple of weeks to do so)?
Yes, you can always change the webhook without having to resubmit your Facebook App for review. I've switch my bot's webhook back and forth several times (even to my local development webhook with ngrok).
In some apps the Webhooks is not even there yet, so for those who don't see it, you have to "Add Product" and choose Webhooks.

Turn off Notifications for Facebook Comments Plugin

We've implemented the Facebook Comments box on our website. I'm set up as a moderator, which means I receive a Facebook notification anytime anyone posts a comment via the comments box.
Happy to say we receive much engagement on our sites, but unfortunately this means I receive a notification almost every other minute. Do we know if there's a way to turn this notification feature off? At least for myself and not other moderators? I'd really just like to be alerted of activity on my own personal Facebook profile, rather than my website
Thanks in advance!
There doesn't seem to be a way to turn them off (I've searched extensively). However, you can create a separate Facebook account – "Grace Moderator", or something like that – and set that as the moderator instead of your main account. Then you won't get the notifications in your main account.