Does anyone know if the comments webhook includes replies to comments or only top level comments? The documentation has two different edges for comments and replies but the documentation on the comments webhook doesn't specify if its going to send both comments and replies.
Related
Have you guys encounter this? Please let me know your thoughts!
The screenshot above is a response when I hit a get request to retrieve a comment from Facebook live. There are comments where the name of the user who made the comment does show up, but the majority of the comments don't have the name of the user.
Facebook documentation below shows field = from for the person that made the comment.
Facebook Graph API
The comments documentation state that the field from return a User object and my suppose is that either you don't have the permission to read all the User objects or maybe that user has set some privacy restriction; unfortunatly as you saw, the Facebook API Doc is not complete and I did not find more info.
Agent: I have made a note, Now can you please indicate which all parts of the vehicle were damaged in the accident?
User: Windshield/Bumper/Front Side/Rear/Hood(Card response)
In the above chat script, I am presenting the user with card response to select parts of a vehicle. A user can select any number of parts. I want to implement it with Dialogflow card responses. How to implement this? Help will be appreciated. Thanks
You should consult the Rich Messages page of the documentation and look for docs on the specific integration that you want to do in order to find the correct way to add suggestion chips or some type of response.
Since Foursquare encourage developers to post API issues on StackOverflow I wanted to ask: Is there a method for upvote or downvote a tip in Foursqaure API? I have checked the Foursqaure API docs but there aren't any new methods added for tips.
You can use the v2/tips/like API to like or unlike a tip.
If 1, like this tip. If 0 unlike (un-do a previous like) it. Default
value is 1.
https://developer.foursquare.com/docs/tips/like
UPDATE:
It looks like Foursquare.com uses an undocumented endpoint v2/tips/vote. You can see how this works by inspecting network traffic to Foursquare.com and upvoting or downvoting tips.
Upvote: https://api.foursquare.com/v2/tips/TIP_ID/vote?vote=1
Downvote: https://api.foursquare.com/v2/tips/TIP_ID/vote?vote=0
Remove vote: https://api.foursquare.com/v2/tips/TIP_ID/removevote
These all need to be POST requests and you'll of course need an oauth token for all of them.
There is a POST method for to create comments, but it says the following:
Create a comment on a media. Please email apidevelopers[at]instagram.com for access.
See: http://instagram.com/developer/endpoints/comments/#
So do I have to get whitelisted for to be able to post comments or is the access_token enough?
Yes it is possible to post comments on Instagram via API. You have to get whitelisted now, so you have to email. This was not the case before, you were able to use commenting in api whithout whitelisting, but because of some apps spamming and abusing the comments feature, commenting now has to be whitelisted
See more: https://developers.facebook.com/docs/instagram-api/reference/media/comments#create
When you open the Instagram APP you can look at your news feed where you can see that someone is now following you, likes or has commented on a certain photo.
When I look at the Instagram API (http://instagram.com/developer/) I can retrieve likes and comments when I request a certain media ID. However in order to know if someone has commented on a photo of mine I would need to scan all the photo's and request it's comments to check if any new comments have been made.
Does anyone know of a better way? Help is appreciated.
If it helps, content for "Following" tab is available at http://instagram.com/api/v1/news/, and "News" tab at http://instagram.com/api/v1/news/inbox/ (you need to be logged in to your account).
All URLs point to internal instagram:// protocol so you would need to replace them when parsing and there seem to be no pagination options.