Skip to content

Latest commit

 

History

History
160 lines (68 loc) · 1.44 KB

fb_graph_event.rst

File metadata and controls

160 lines (68 loc) · 1.44 KB

Class

FB_Graph_Event

Methods

setName

.. function:: setName()


    Set name


    :param string:

    :rtype: void



setStartTime

.. function:: setStartTime()


    Set start time, in ISO-8601


    :param string:

    :rtype: void



setEndTime

.. function:: setEndTime()


    Set end time, in ISO-8601


    :param string:

    :rtype: void



setDescription

.. function:: setDescription()


    Set description


    :param string:

    :rtype: void



setLocation

.. function:: setLocation()


    Set location


    :param string:

    :rtype: void



setLocationId

.. function:: setLocationId()


    Set location ID

    Facebook Place ID of the place the Event is taking place


    :param string:

    :rtype: void



setPrivacyType

.. function:: setPrivacyType()


    Set privacy type

    OPEN (default), SECRET, or FRIENDS


    :param string:

    :rtype: void



__construct

.. function:: __construct()


    Constructor


    :param string: the event name
    :param string: the event start time, in ISO-8601

    :rtype: void



create

.. function:: create()


    Create


    :param string|int: the object ID (eg - me)

    :rtype: string the new event ID





Constants

CONNECTION