Note that there are some explanatory texts on larger screens.

plurals
  1. POCannot manually enter an address on event through graph API
    primarykey
    data
    text
    <p>After changing our app to use the new Event Timezone migration, I can no longer display the events address. I used to pass in the venue object with the street, city, state, zip, and country.. then I would also place that information directly in the event object (because the venue never worked even though the api said it was there). </p> <p>From the graph api documentation for "creating an event from a page" it seems they have done away with venues (and directly entering address information), and now only has location and location_id. I need to be able to manually enter the address information and have it display on the event as I have no guarantee there is an existing facebook location for our clients venues. Is this still possible?</p> <pre><code>var eventData = { name: "&lt;%= Me.EventName %&gt;", page_id: "&lt;%= Me.CurrentAcct.FacebookPageID %&gt;", description: "&lt;%= Me.EventDescription.Trim() %&gt;", start_time: starttime, location: "&lt;%= abc.Web.Script.Serialization.JavaScriptString.QuoteString(Me.Venue.Title) %&gt;", street: "&lt;%= abc.Web.Script.Serialization.JavaScriptString.QuoteString((Me.Venue.Address1.Trim() + " " + Me.Venue.Address2.Trim()).Trim()) %&gt;", city: "&lt;%= abc.Web.Script.Serialization.JavaScriptString.QuoteString(Me.Venue.City) %&gt;", state: "&lt;%= Me.Venue.State %&gt;", zip: "&lt;%= Me.Venue.Zip %&gt;", country: "&lt;%= Me.Venue.TwoLetterISORegionName %&gt;", privacy: "&lt;%= Me.Privacy %&gt;", ticket_uri: "&lt;%= PublicPageHelpers.BuyTicketsURL(CurrentAcct.Key, objEvent.ID, String.Empty, LinkTypes.Absolute) %&gt;" } </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload