code: func (mod *FacebookBee) Action(action bees.Action) []bees.Placeholder {
  	outs := []bees.Placeholder{}
  	switch action.Name {
  	case "post":
  		var text string
  		action.Options.Bind("text", &text)
  		mod.Logf("Attempting to post \"%s\" to Facebook", text)
  
  		params := facebook.Params{}
  		params["message"] = text
  
  		_, err := mod.session.Post("/me/feed", params)
  		if err != nil {
  			// err can be an facebook API error.
  			// if so, the Error struct contains error details.
  			if e, ok := err.(*facebook.Error); ok {
  				mod.LogErrorf("Error: [message:%v] [type:%v] [code:%v] [subcode:%v]",
  					e.Message, e.Type, e.Code, e.ErrorSubcode)
  				return outs
  			}
  			mod.LogErrorf(err.Error())
  		}
  
  	default:
  		panic("Unknown action triggered in " + mod.Name() + ": " + action.Name)
  	}
  
  	return outs
  }
docs: // Action triggers the action passed to it.