I
I
ivandzemianchyk2015-03-16 19:56:43
Java
ivandzemianchyk, 2015-03-16 19:56:43

What do you need to set up a small server and collect user data from facebook in real time?

I'll try to be brief...
The task is to track the activity of a number of users in real time.
Does facebook give such an opportunity ... so that they send incoming data to my server, and not me constantly sending a periodic request and receiving answers?
What is needed to configure the computer to accept data from fb?
Perhaps the question is not entirely correct, I'm just completely green in this and I myself don't know even in theory how I will do it.
Best regards,
Ivan

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
Timur, 2015-03-16
@timych

Hmm not familiar with facebook api. But something seems to me (maybe I'm wrong) that there is no such possibility. Well, at best, there will be some kind of mailing by email. But what's stopping you from sending requests on your own schedule?
Judging by the "Java" tag, you want to build an application in java EE?
Here a quick google finds:
restfb.com
Off page: https://developers.facebook.com/docs/graph-api/usi...

N
Nikolai Pavlov, 2015-03-17
@gurinderu

Well, facebook api definitely does not give such an opportunity.
The only option is to make a "spider", which will be wounded for example every day, or every 10 seconds and parse the necessary pages. And then, based on the data of this parser, do some analytical things and add them to your database. Once I did a similar thing for VK, but I used purely API.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question