def facebook_outbox():

    if not auth.s3_logged_in():
        session.error = T("Requires Login!")
        redirect(URL(c="default", f="user", args="login"))

    tablename = "msg_facebook"
    table = s3db.msg_facebook
    s3.filter = (table.inbound == False)
    table.inbound.readable = False

    # CRUD Strings
    s3.crud_strings[tablename] = Storage(
        title_display = T("Post Details"),
        title_list = T("Sent Posts"),
        label_list_button = T("View Sent Posts"),
        label_delete_button = T("Delete Post"),
        msg_record_deleted = T("Post deleted"),
        msg_list_empty = T("No Posts currently in Outbox")
    )

    #def postp(r, output):
    #    if isinstance(output, dict):
    #        add_btn = A(T("Compose"),
    #                    _class="action-btn",
    #                    _href=URL(f="compose")
    #                    )
    #        output["rheader"] = add_btn
    #    return output
    #s3.postp = postp

    s3db.configure(tablename,
                   # Permissions-based
                   #deletable = False,
                   editable = False,
                   insertable = False,
                   listadd = False,
                   list_fields = ["id",
                                  "date",
                                  #"to_address",
                                  "body",
                                  ],
                   )

    return s3_rest_controller(module, "facebook")

# -----------------------------------------------------------------------------
Yield an infinite sequence of offset stamp parameters
dataset/ETHPy150Open sahana/eden/controllers/msg.py/facebook_outbox--crossover with--dataset/ETHPy150Open ChrisBeaumont/brut/bubbly/dr1.py/LocationGenerator.negatives_iterator