facebookbee

package
v0.0.0-...-e08ef68 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2018 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

Package facebookbee is a Bee that can interface with Facebook.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FacebookBee

type FacebookBee struct {
	bees.Bee
	// contains filtered or unexported fields
}

FacebookBee is a Bee that can interface with Facebook.

func (*FacebookBee) Action

func (mod *FacebookBee) Action(action bees.Action) []bees.Placeholder

Action triggers the action passed to it.

func (*FacebookBee) ReloadOptions

func (mod *FacebookBee) ReloadOptions(options bees.BeeOptions)

ReloadOptions parses the config options and initializes the Bee.

func (*FacebookBee) Run

func (mod *FacebookBee) Run(eventChan chan bees.Event)

Run executes the Bee's event loop.

type FacebookBeeFactory

type FacebookBeeFactory struct {
	bees.BeeFactory
}

FacebookBeeFactory is a factory for FacebookBees.

func (*FacebookBeeFactory) Actions

func (factory *FacebookBeeFactory) Actions() []bees.ActionDescriptor

Actions describes the available actions provided by this Bee.

func (*FacebookBeeFactory) Description

func (factory *FacebookBeeFactory) Description() string

Description returns the description of this Bee.

func (*FacebookBeeFactory) Events

func (factory *FacebookBeeFactory) Events() []bees.EventDescriptor

Events describes the available events provided by this Bee.

func (*FacebookBeeFactory) ID

func (factory *FacebookBeeFactory) ID() string

ID returns the ID of this Bee.

func (*FacebookBeeFactory) Image

func (factory *FacebookBeeFactory) Image() string

Image returns the filename of an image for this Bee.

func (*FacebookBeeFactory) LogoColor

func (factory *FacebookBeeFactory) LogoColor() string

LogoColor returns the preferred logo background color (used by the admin interface).

func (*FacebookBeeFactory) Name

func (factory *FacebookBeeFactory) Name() string

Name returns the name of this Bee.

func (*FacebookBeeFactory) New

func (factory *FacebookBeeFactory) New(name, description string, options bees.BeeOptions) bees.BeeInterface

New returns a new Bee instance configured with the supplied options.

func (*FacebookBeeFactory) OAuth2AccessToken

func (factory *FacebookBeeFactory) OAuth2AccessToken(id, secret, code string) (*oauth2.Token, error)

OAuth2AccessToken returns the oauth2 access token.

func (*FacebookBeeFactory) Options

func (factory *FacebookBeeFactory) Options() []bees.BeeOptionDescriptor

Options returns the options available to configure this Bee.

Jump to

Keyboard shortcuts

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