facebook

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoginToFacebook

func LoginToFacebook(wd selenium.WebDriver, user string, password string) error

LoginToFacebook login to facebook

Types

type ProfileResult

type ProfileResult struct {
	URL      string
	PicURL   string
	Name     string
	Pic      *image.RGBA
	InfoList []string
}

ProfileResult facebook profile metadata

func ExtractProfileData

func ExtractProfileData(wd selenium.WebDriver, profileURL string) (*ProfileResult, error)

ExtractProfileData visits a profile and downloads their data

type SearchResult

type SearchResult struct {
	URL  string
	Name string
}

SearchResult result of facebook search

func SearchPeople

func SearchPeople(wd selenium.WebDriver, name string) ([]SearchResult, error)

SearchPeople search for people

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL