In FB Graph API 2.3 the place field replaced the location and venue fields in the event node. However when using the search feature (v2.3/search?q=*&type=event&fields=name,description,place) if you request the place field an error is returned:
(#100) Unknown fields: place
Does anyone know a way around this?
Use venue instead of place
v2.3/search?q=*&type=event&fields=name,description,venue
Visit
http://fbdevwiki.com/wiki/Graph:Event for more fields.
Good luck
Related
I'm working with calendar information in the XML response from the MS server. I successfully extract fields from CalendarItem, but I also need some of the fields from CalendarItem's ancestor, Item. The response from the server contains that information in xml, so I believe I can use "from_xml" to get, for example, the "item:TextBody".
If "from_xml" is the right approach, how should I use it? If I'm on the wrong path, how should I proceed?
What exactly are you attempting to do? exchangelib makes all values in the XML available as attributes on the returned items. There are lots of examples in the documentation.
CalendarItem is a subclass of Item so the fields on the superclass are also available to the subclass. You can see all available fields by renting CalendarItem.FIELDS.
I have a form with an Send Email action. I'm about to use the field placeholders, but I'm not sure if its possible to use ASP like syntax to print out the current date time etc.
Is this possible with Sitecore? Or do I need to add an additional field and make it invisible?
So, if I understand your questions correctly:
You have an email template which will have fields in it. You need to store current date time in that field?
You can do that my injecting a pipeline when item is getting created and store the current date time to that field. There are various sources where you can find out how to intercept between pipelines in Sitecore.
Hope it helps :)
Is there any way to search public objects by their fields? For example:
https://graph.facebook.com/search?q=conference&type=event&fields=venue
Will get me all events matching conference and show their locations. Is there a way to filter for events in San Francisco?
I've tried something like:
https://graph.facebook.com/search?q=conference&type=event&fields=venue¢er=37.76,-122.427&distance=1000
but it doesn't seem to have any effect.
I also checked this. There is no any way to search in fields. only event search will work for TITLE of events only by Facebook and not in description also. There is get url by latitude longitude but this also not working from fb. i dont know when they will solve this issues.
https://graph.facebook.com/search?q=conference&type=event&fields=venue¢er=37.76,-122.427&distance=1000
I'm looking to make something similar to the location autocomplete in Facebook's "Create Event" page. It gives location name, address, and number of check-ins. Do you know how is it done? Because the Places table does not have any field for address and nubmer of checkins.
https://developers.facebook.com/docs/reference/fql/place/
I was going to use Factual, but after some trial and error, found out that facebook is more comprehensive.
Try this query. It ensures that the checkins field is also returned as part of the search request.
https://graph.facebook.com/search?q=coffee&type=place¢er=37.76,-122.427&distance=1000&fields=location,name,id,checkins
There is a graph place search API.
https://graph.facebook.com/search?q=coffee&type=place
I'm starting to use the Graph API to get my notifications, and in the REST interface, they had the object_id field. I used this to get the notification objects' id to then query the Graph for more information.
The Graph API object does not include this information.
Example of what I want to do:
Get user's notifications JSON object.
Grab single item
Identify if this item supports commenting/liking
Display comments and number of likes for that item
if user can comment or like item, display buttons for this
my process:
call me/notifications/?include_read=1
is pretty easy to do.
I can identify if the object refers to a group, event, random application, post, or photo using the URL. I know that posts, likes, photos and others support commenting/likes so I have a way of doing this, though it involves parsing the link attribute of the item
this is what I need help with. I can get the id of the object by parsing the link, but I don't get the full object some times using this. For example, to post on a comment, you need to have USERID_COMMENTID and the link only has the COMMENTID in this form http://www.facebook.com/USERNICKNAME/posts/COMMENTID
I also need help with this. I guess some fb objects can't been liked via the graph?
any help would be great!
The notification FQL table, which also replaced the REST notifications.get API, still has an object_id column. That's the closest thing that exists to what you're asking for. It doesn't look like the Graph API call is documented to have the object_id field unfortunately.