Does facebook open graph can replace a database ? (web ) - facebook-graph-api

I am pretty new to the Facebook API. I tried to read the online documentation but I am missing something. Is it possible to use the open graph to store information?
Basically, would it be possible to create a website and use some custom object type to store data instead of having my own database? (e.g. storing game score, survey response...)
Then, the website would just have to read those data from the FB open graph, manipulate them, and send them back via the open graph api.
Thank you!

The facebook graph is used to query facebooks data, you can't establish your own data structures on the graph as far as I am aware.

Related

How to get the widget data using rest api or some other ways in ESB6.5?

I want use another dashboard project based on Javascript to show data ,but I don`t know how to get the Statistical data. Is there any api or some way to get the data?
It would be better if you can share what kind of data do you want to portrait in your dashboard. Anyhow you can use the admin services available in ESB 6.5 to get the available data.
https://docs.wso2.com/display/EI650/Working+with+Admin+Services

What kind of data can i store from Facebook's graph api?

I have a few questions about what data I can store from Facebook's graph api. I'm creating a react-native app that uses facebook authentication, and fetches data (specifically places and current user) from the Facebook graph api. I found the "Protect Data" section under the graph api policy pages lacking in depth, so here I am trying to gain some more knowledge on the topic. Here are my questions:
Can I store user the user ID fetched from the /me/ api call using a user's accesstoken in my db? If so, do I need to encrypt it in any way? I read on the api docs pages that these ID's were unique to my app and would be useless anywhere else. If this is the case I don't see the harm in storing them in my db. Is this true?
Can I store coordinates and names of places fetched by places search? Do these need to be encrypted.
Any help and insight on the topic is greatly appreciated.

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

How to get Open Graph objects associated with an application or Facebook user?

I recently set up a Facebook application so that I might be able to send messages to people who 'like' things). I managed to figure that part out, but now I'm stumped again.
As far as I have seen, every open graph object that is created will have a reference to a app_id if the page had a fb:app_id open graph meta tag. However, I haven't seen anything in the Open Graph API that allows me to get a list of Open Graph objects associated with an app_id (this question has some insight, but doesn't provide a lot of information).
Alternatively, since I know that the pages will have a similar URL, I was investigating FQL to see if it is possible to find pages where the URL matches some pattern (either using strpos or the IN operator). No luck there either (condition fields needs to be indexed).
Lastly, I considered using the fb:admin metatag, because apparently it is possible to see which pages a user administers. In this case, I haven't figured out how to become administrator of the Open Graph object, so I am again stumped.
Is there any way, however roundabout, to get open graph objects associated with a Facebook application or user?
There's no way to get a list (from Facebook) of objects it knows are associated with a given app_id. Facebook only "knows" about your custom OG objects when it crawls them, and its only going to crawl them in when an action is taken with your OG object as a target. The best way to keep track of OG object for a given app is to track the result of OG API calls that create these actions (you'll get an fb_action_id).
Same with users. You can track which users are associated with your App in response to successful calls to FB.login or FB.getLoginStatus. You'll need to track actions taken by that user yourself.