Giter VIP home page Giter VIP logo

sharkb_fbimporter's Introduction

Faebook Importer for Shark

The FacebookImporter for Shark is an extension for the Shark Framework. It's enables developers to build Facebook importers for the SharkKnowledgeBase by providing an API for building extendable Facebook importers which requests data from Facebook's GraphAPI and imports this data into a Shark KnowledgeBase.

Features

  • Execution environment for Facebook importers
  • API binding for Facebook's Graph API (Based on Spring Social Facebook)
  • Model Classes for Facebook's Graph API
  • Login for Facebook's Graph API
  • ContextPoint Data binding
  • Example Importer which:
    • imports the currently logged in user as Peer Semantic Tag
    • imports it's friends
    • imports it's family relationships
    • imports it's significant other relationship
    • imports it's public posts

Structure of the Importer

API Structure

Build

In order to build the facebook importer you need a installed Java SE Runtime Environment 8 or alternatively a installed Java SE Development Kit 8 and optional a installed Gradle>=2.4 but this only a recommendation the build script could be used without any gradle installation.

The Facebook importer comes with a Gradle build script which is responsible to build the importer. The build script can be executed by any major IDE which provides a Gradle integration. If your are a NetBeans user then give GradleSupport a try.

If your prefer the use of the command line then you could use gradle itself or the gradle wrapper (gradlew) which is shipped with the source code of the importer. In order to run the importer use the following commands:

# Use this command when you have already installed gradle 2.4 >=
gralde run

# Use this command when you don't have installed gradle 
./gradlew run
# or for window users:
gradlew.bat run

For more details how to use Gradle please visit the Gradle Getting Started Guide.

Gradle Tasks

Tasks Description
build Builds the importer, creates javadoc and load all required dependencies from central maven repository
dependencies Load all required dependencies from central maven repository.
javadoc Generates the javadoc for the facebook importer.
distZip Creates a distribution archive which contains the builded importer, created javadoc and os specific scripts for starting the facebook importer. When you only wanna use the example importer than this is choise. The buileded archive could be found inside the build/distributions directory.
run Build and run the facebook importer.
eclipse Generates a eclipse ide project in order to open the source code in eclipse.
idea Generates a idea ide project in order to open the source code in idea.

sharkb_fbimporter's People

Contributors

isternberg avatar yveskaufmann avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.