beehive: github.com/muesli/beehive/bees/facebookbee Index | Files

package facebookbee

import "github.com/muesli/beehive/bees/facebookbee"

Package facebookbee is a Bee that can interface with Facebook.

Index

Package Files

facebookbee.go facebookbeefactory.go

type FacebookBee Uses

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

FacebookBee is a Bee that can interface with Facebook.

func (*FacebookBee) Action Uses

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

Action triggers the action passed to it.

func (*FacebookBee) ReloadOptions Uses

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

ReloadOptions parses the config options and initializes the Bee.

func (*FacebookBee) Run Uses

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

Run executes the Bee's event loop.

type FacebookBeeFactory Uses

type FacebookBeeFactory struct {
    bees.BeeFactory
}

FacebookBeeFactory is a factory for FacebookBees.

func (*FacebookBeeFactory) Actions Uses

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

Actions describes the available actions provided by this Bee.

func (*FacebookBeeFactory) Description Uses

func (factory *FacebookBeeFactory) Description() string

Description returns the description of this Bee.

func (*FacebookBeeFactory) Events Uses

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

Events describes the available events provided by this Bee.

func (*FacebookBeeFactory) ID Uses

func (factory *FacebookBeeFactory) ID() string

ID returns the ID of this Bee.

func (*FacebookBeeFactory) Image Uses

func (factory *FacebookBeeFactory) Image() string

Image returns the filename of an image for this Bee.

func (*FacebookBeeFactory) LogoColor Uses

func (factory *FacebookBeeFactory) LogoColor() string

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

func (*FacebookBeeFactory) Name Uses

func (factory *FacebookBeeFactory) Name() string

Name returns the name of this Bee.

func (*FacebookBeeFactory) New Uses

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 Uses

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

OAuth2AccessToken returns the oauth2 access token.

func (*FacebookBeeFactory) Options Uses

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

Options returns the options available to configure this Bee.

Package facebookbee imports 17 packages (graph) and is imported by 12 packages. Updated 2021-01-26. Refresh now. Tools for package owners.