API is a consolidation of protocols, set of routines and tools for developing software application. Ideally Facebook recognizes the relationship among the entities as a Social Graph. In Facebook, an entity can be a person, place, event or object that is relevant to a given system and an attribute is a property , characteristic of the entity. As shown in the diagram, Location is an entity and country, state, location id are the attributes.
Based on the registered user profile, Facebook internally maintain a graph for that user. In that graph basically other users will be identified based on how they can be related to the former either by location, or by college, school etc. That is why we are always seeing “Add Friend” button to include other users in our own social circle. Facebook is displaying those non connected user which are either friend of our connected friends or somehow their profile data are similar with us.
The effective way to get data in or out of Facebook’s social graph is Facebook Graph API. It’s a low-level HTTP-based API that can be used to query data, post new stories, upload photos and a variety of other tasks that an application might need to do. As the Graph API is HTTP based, so it works with any language that has an HTTP library.
Written by
Gautam Goswami
Can be reached for real-time POC development and hands-on technical training at gautambangalore@gmail.com. Besides, to design, develop just as help in any Hadoop/Big Data handling related task. Gautam is a advisor and furthermore an Educator as well. Before that, he filled in as Sr. Technical Architect in different technologies and business space across numerous nations.
He is energetic about sharing information through blogs, preparing workshops on different Big Data related innovations, systems and related technologies.
Page: 1 2
Data is being generated from various sources, including electronic devices, machines, and social media, across… Read More
An Apache Kafka outage occurs when a Kafka cluster or some of its components fail,… Read More
Complex event processing (CEP) is a highly effective and optimized mechanism that combines several sources… Read More
Source:- www.PacktPub.com This book focuses on data science, a rapidly expanding field of study and… Read More
Over the past few years, Apache Kafka has emerged as the top event streaming platform… Read More
In the current fast-paced digital age, many data sources generate an unending flow of information,… Read More