Giter Club home page Giter Club logo

detectbot's Introduction

Travis

DevSecOps Engineer and Professor

tks98

_tks98

detectbot's People

Contributors

tks98 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

shakahl

detectbot's Issues

WIP: Extend functionality for Facebook user profiles

Let's create a new directory under pkg called "facebook" and write a NewMedia() function, and GetFeatures() method.

  • NewMedia() should setup authentication to the Facebook API and return back a Media struct with a Facebook api client

  • GetFeatures() should extract the necessary features from a Facebook profile and return a botdetector.Features type

Since the Facebook media struct has a GetFeatures() method, it satisfies the social media interface in pkg/social/social.go.
Modify in main.go the NewSocialMedia() function to return a social.Media() type which corresponds to the type of url passed in by the user. If its a twitter URL, call the twitter.NewMedia() function. If it is Facebook, call the facebook.NewMedia() function you created.

More API Usage

Have you looked into using the Twitter Labs API? They have multiple apis, one of them has elasticsearch like searching capabilities and much. Their labs team or research division has some interesting stuff.

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.