Documentation ¶
Overview ¶
Package facebookbee is a Bee that can interface with Facebook.
Index ¶
- type FacebookBee
- type FacebookBeeFactory
- func (factory *FacebookBeeFactory) Actions() []bees.ActionDescriptor
- func (factory *FacebookBeeFactory) Description() string
- func (factory *FacebookBeeFactory) Events() []bees.EventDescriptor
- func (factory *FacebookBeeFactory) ID() string
- func (factory *FacebookBeeFactory) Image() string
- func (factory *FacebookBeeFactory) LogoColor() string
- func (factory *FacebookBeeFactory) Name() string
- func (factory *FacebookBeeFactory) New(name, description string, options bees.BeeOptions) bees.BeeInterface
- func (factory *FacebookBeeFactory) OAuth2AccessToken(id, secret, code string) (*oauth2.Token, error)
- func (factory *FacebookBeeFactory) Options() []bees.BeeOptionDescriptor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FacebookBee ¶
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.