Which API creates bar chart aggregation on Timeline? - api

The Facebook Game "SongPop" has an aggregate of "Most Victories" appear on a person's timeline. The presentation is in the form of a bar chart.
I'm guessing that this has been created by submitting an object to the Open Graph each time a user experiences a "Victory", and then Facebook will aggregate these for the timeline.
I'd like to know: How can I do the same? Which object, actions or API can I use?
(I'm using both the Javascript and PHP SDKs and am indifferent as to which one is used to make the submission - an answer which provides a solution in terms of a POST to an Open Graph URL would do nicely).

This is Profile data (https://developers.facebook.com/docs/opengraph/objects/builtin/#external_profile) used with Win action type in list layout form style. Sort by favorite and caption line is something like {count} victories
Hope that helps. Thanks

Related

Google Optimize test with universal Analytics

I'm using Google Optimize with Analytics (UA).
I've made a couple of simple tests with succes but now I'm a little clueless how make to following test:
On a category-page we have an overview of products. The case is that I would like to know if the click-throughs to a product-detail are the same if I remove the button... (image & title are still clickable).
If anyone can put me in the right direction how to test this, it would be highly appreciated! :)
BTW: it must be a/b test, not a multi-variation...
first in your variant code you can remove these buttons (if you are developer is easy with JS in Global JS).
Second you have to check if all links in the card are measured, when title, image or button are clicked must be send an event to Google Analytics.
Third, you have to use this event as primary goal, you can create a custom goal with its action, category and label.

Creating an interactive events scheduler

I'm attempting to create something with a similar layout to this schedule page.
See attached screenshot also.
.
So what I need is:
- "Categories" across the top of the scheduler (Vertical dividers).
- "Timeslots (07:00 07:30, etc..)" down the left of the scheduler.
User's can then add events via modal screens and assign them "Timeslots" and "Categories".
They should then appear in the Schedule in the appropriate locations.
The above mentioned example appears to be using Dojo.
I found this calendar widget but am unsure of how to get it to represent "Categories" across the top when using the "Day" view.
Is this possible with the dojo calendar widget? (I've never worked with Dojo before)
Any suggestions as to other frameworks or example's that would provide me with this functionality would be very welcome also.
I've looked at JQuery's fullCalendar plugin and it doesn't seem to provide this functionality (Would be great if someone could prove me wrong!).
After looking at Dojo's widget documentation I think the Sub-Column display is what you are looking for. So each Calendar in this case will represent a category. http://livedocs.dojotoolkit.org/dojox/calendar#sub-columns.
I don't think FullCalendar is capable of the category layout, but I think its cool enough to request: http://arshaw.com/fullcalendar/wiki/Request-a-Feature/
Hope that helps!

Sitefinity 4.4 - Dynamically change page title and description at runtime

Does anyone know how to dynamically change the page title in Sitefinity from a regular user control?
Our scenario is simple. We have a real estate website with a search feature. On the search results page we have a control showing the search results, but we need to be able to change the Page title, description and keywords based on the search performed.
We posted on Telerik, but they gave vague answers and pointed us to incorrect objects or objects that didn't actually work.
?
Regards,
Jacques
The way I've usually done this in the past is by using an external widget template.
By mapping your widget template to an external file, you can use a full User Control (.ascx file) which means you can also run code behind.
From there it's just a matter of running something like
Page.Title = "whatever";
For more info on using an external template for Sitefinity Widgets, check out this post: http://www.sitefinity.com/blogs/joshmorales/posts/11-05-10/mapping_external_templates_for_sitefinity_4_widgets.aspx
Hope this is helpful!

Google+ +1 Button Snippet+ Problem

I have integrated the Google +1 button into a website ( http://www2.highpoint.edu ).
I tried to use schema.org <meta> tags to provide Name, Description, and Image for the +Snippets information, but it doesn't work.
When I use the +1 button and try to post to Google+ about the website, it picks an image that I don't want. And it won't pick the image I have set with the <meta> tag.
My questions:
How do I get the +Snippet data populated from schema.org metadata?
For a page with 2 or more +1 buttons, can I have different name/description/image for each +1 button? Or must every +1 button on the page use the same metadata?
EDIT
I think it is best to use Open Graph Protocol instead of schema.org. That is, schema.org shouldn't be used at all. Facebook supports Open Graph Protocol, so you can kill 2 birds with 1 stone this way.
More importantly, Facebook provides a great debugging tool that tells you what exactly is getting parsed for a given URL: http://developers.facebook.com/tools/debug
I am still not sure about having multiple +1 buttons on the same page with each +1 button having distinctly different meta data.
In response to question 1:
I checked your page. It looks like you have a normal meta title and description. This should work for the +1 button, but it may take some time for the +1 button to pick up the changes you've made.
If you'd like control of the image, though, you will need to use schema.org markup or open graph as described in the official FAQ: http://code.google.com/apis/+1button/#plus-snippet
And for question 2:
If you are using schema.org markup, the +1 button will read the content for the itemscope nearest the top of the page's source code.
It does not work for me either. I have both Schema.org and Open Graph in the web page (eg. http://r.mycrep.net/3Nkh/), Multiple validators (Facebook's and one other) read info correctly.
I guess that Google still does not support metadata for everybody :-(

The ted.com twitter widget?

On all the videos on ted, there is a widget thing with an inputfield that says tweet this (we'll add the url later) you put stuff in a box, it get's a tiny-url and get's pushed to facebook.
I'm trying to figure out what it's called. Does anyone have a clue?
example:
http://www.ted.com/talks/dan_phillips_creative_houses_from_reclaimed_stuff.html
Looks like they are using the service provided by AddThis. Looking at their site, they offer some stock sharing links, but also have an API for creating more advanced ones.