I want to fetch my Messenger data to my own database. I want to use that data for my own application. Is it possible? What is the appropriate procedure?
Related
I am using Firebase Realtime Database while developing a app using Flutter. I want to display all the authenticated/registered users using a dropdown list, but I am unable to find any good resource for it .
Can anyone help me for it? Any lead would be very helpful.
I have implemented this functionality in my app recently.
You should store user information in a Cloud Firestore collection on user signup and then retrieve the list of users from that collection.
While implementing above collection, set userId as the documentId as userId is unique.
I have an app where a user can add website urls, save and display the sites. I want o be able to store and fetch with core-data
I would like to be able to trigger events in a Facebook account. For example, when a user inserts a post on my wall, I would like to save the post in my database. Is there a library that permits it?
Yes. You're looking for realtime updates
How do you query the Facebook Graph to get all the users who have connected with your application? I am not storing their user ID, email or any other data from the user when they first connected with the app. Is there a way to get this data retroactively?
You're probably out of luck then, as you have to have at least the user ID to query the user FQL table. Your best bet is to implement something that recaptures old installs as existing users come back to your application and capture the data at that time.
Using Twitter OAuth, I'm saving the user's data as JSON in a "twitter" field in my database. Likewise, I'm saving the user's Facebook Connect info (including persistent session_key) as JSON in a "facebook" field.
For most operations, this is great. However, I'd like to add a "Find Friends" function that will grab the user's friends from either service, compare against users on my service, and show the resulting list to suggest friends.
The initial problem: doing a DB call to compare the user's friend list against usernames that are in JSON.
First idea: if I can get a list of all users that have authenticated my application (along with their emails), I could then find users in my database with those emails. However, I'm not aware of any API call for either Twitter or Facebook that does that.
Any other idea on how to create this function?
Thanks in advance.
You could create tables for the users having their service ID in a field. (facebook or twitter user id).
Then just do a SQL search on the tables to find them. JSON isn't a good idea to store in a table for searching with.
Joe