Open Graph video.watches action with Youtube API - facebook-graph-api

Does anyone know if it's possible to create an Open graph video.watches action from embedded youtube video (using Youtube API and Open graph)?

Yes, you can do that with javascript using Open Graph API:
Reference › Open Graph Action Types › video.watches:
https://developers.facebook.com/docs/reference/opengraph/action-type/video.watches
And you can do the same on Google+ using Moments:
https://developers.google.com/+/api/latest/moments/insert
using AddActivity
https://developers.google.com/+/api/moment-types/add-activity
And you should use the YouTube player events to call functions that works with actions
https://developers.google.com/youtube/iframe_api_reference#Events

Related

graph api to get list of video uploaded on facebook via share dialogue

I need a list of videos uploaded via share dialogue by the user using my app. I can't see any app-specific data added to the video in graph API, however, uploaded videos on Facebook does have the tag of my app when they get added to the feed. I want to track videos uploaded by the user using my app's share dialogue. Can anyone point me in the right direction to achieve this?
This is not a supported feature by the Facebook API. So there is no way to get this done without help from the Facebook team.

Is it possible to show custom graphs in facebook messenger bot?

I am working on a chatbot for banking sector. is it possible to show custom graphs (with raw personal data) in reply to the user using messenger api?
i am searching for this but did not find anything related
if its possible to achieve than please help
if not possible than any alternative ways for the same will be helpful
Thank you
There's nothing built-in to the Messenger Platform API for creating graphs. The best option would be to build the graph server-side then send it as a message attachment in jpg format.
If you're looking to create a more full-featured experience, you can show send a message template with a web_url button that opens the graph in the webview.

Search for Facebook Live Videos via Graph API

Is it possible to search for Facebook Live Videos through the Graph API?
The Facebook Live Video API is all about publishing video, which is not what I want. I have looked through the search API and there does not seem to be any obvious way to search for videos through it.
What I would really like to do is find a list of live videos in a given area.
Unfortunately, no. Not at this time.
You can get videos for individual users if they authorize your app, but that's it.
I have successfully used the Graph API via javascript SDK to view my live_videos using a user token with scope: email, public_profile provided they were created with a privacy setting to PUBLIC (using FMLE). If I create a stream with Wirecast, it starts as ONLY_ME and is not accessible via the API. HTH

Open graph stories Facebook

I am new in Facebook App. and I just discovered Open Graph stories. I'm wondering - where should I insert action and object code? What are the steps in approval procedure?
I'm still new to this topic but found out some stuff (not completely yet!).
Via developer.facebook.com you have your app. You can add objects / actions to the left of the screen. The approval depends on the rights your app requires. Are you using the open graph for web or mobile app? Eventually you'll need to create a screencast (video) of how Facebook works in your app to get approved.

How to use open graph in facebook APP page

I have a facebook app, in which I am opening my website's pages. I want to use open graph in this app. what I mean is this:
user can see all pages and can post as a open graph. When any user's click on ticker link on facebook, it should open into my facebook app. (similar like social reader app).
Please tell me is it possible?
Use fandjango to deal with the authentication for your canvas app and then use facepy (by the same developer) for interacting with the Graph API
Use Fandjango for authentication and facepy for graph api.