How does Google Calendar send click from email WITHOUT loading a page? - html-email

I'd love to be able to do things like send a Poll via email and let people respond by just clicking WITHOUT needing to load a web page.
I thought that was impossible since (AFAIK) you can't use .js in email.
BUT... Google Calendar does this. Perhaps it only works in Gmail?
But if it is possible, I thought I'd ask.

You could create each answer in the poll as a link to a different page (or different redirect to the same page). Track how many hits each answer gets. Send the user to a "Thank you!" page after they click.

Related

Send private message to 1 or more friends using FB API

I'm building a web application that performs an analysis based on the inputs a user enters. I want to allow the user to send this analysis, which will be 2-3 sentences max, to one or more of their Facebook friends through the messenger platform.
At first I thought the Send Dialog was the way to go, but it appears I can't pre-populate the message field at all (source).
Next I tried integrating the Messenger Platform but this appears to target businesses that want to connect their site to a Facebook Page and setup a chat bot, which seems far too complex for my use case.
Is there anyway I can allow the user to send a private message to one or more of their Facebook friends or is this not possible for a specific reason (e.g. prevent spam, security concerns)?
This SO question here appears similar to my question.
There's no way to do this unfortunately. Makes sense, however, as apps could spam people's imessenger if it was possible.
The best alternative is to use the Send Dialog component.

Is it possible to set message board as a notification in Workflow with Kaleo in liferay?

I am working in Liferay. Recently I have developed 3 level workflow using Kaleo in liferay for reviewing the content. But what happens is when user who submit any content then the users related in the chain will be notified through mail. But I want something different if possible. What i wish is, put one MessageBoard on the Home Screen then whenever anyone post content the users will get the notification in the MessageBoard. The idea is you can say somewhat to facebook. That whenever your friend post a comment you get notification via mail as well as you get notification on the home screen of your account. Is it possible to achieve the same thing in Liferay using Kaleo Workflow or anyother way to do this?
Valuable suggestions are welcomed.......
Thanks
For notification from MessageBoard your user can click on Subscribe link and should get mail.
For yout other (facebook like) requirements liferay has few built in portlets that do that (I'm not facebook user so I guess): Friends, Friends Activities, Requests, Wall, Summary. Note that these can only be added to your users pages (public/private).
You even have Activities portlet that displays all community users activities.
If this is not what you are looking for let me know.

Adding a share link straight to wall, into an email newsletter

Wondering if anyone has actually managed to get the "share" functionality working in an email newsletter.
Currently being asked by a client to "share" a certain part of a newsletter directly to a persons wall.
However, the HTML will be generated by 1 program, and then a copy and paste into the email blaster to be sent.
Essentially, wondering can it be done? Are there any examples?
The like button plugin will work for a web page, not content in an email.
The share is being deprecated.
The send button plugin is used to share a URL (which is not content of an email).
I would suggest that the html of the email being blasted also be hosted on a web page. Then have that like (https://developers.facebook.com/docs/reference/plugins/like/) button's (that is being send via email) set it's href property to that of the hosted web page. That should work well.
Happy coding!

Accessing checkboxes with faces when using Facebook "send" button

I've messed around with FBML (deprecated, I know) and the newer HTML5 code to no end, but so far I haven't found any way to do what I'm looking to do.
When using "apprequest" within an application on Facebook (within iframe), I can allow users to share requests to join the app, but those messages that get sent are very hidden away. They don't seem to appear in the newsfeed for shared recipients, and we're afraid users won't see the request from their friends.
Instead, we thought we'd allow users to alternatively share to their friends with the "send" button code that Facebook offers up. This allows us to specify a URL (we were thinking the app canvas URL or page tab it would live on).
So far, this is all I could generate...
Is there any way to have the send code let me specify that we want faces with checkboxes for uses to select their friends, instead of a sharing party needing to type out names of their friends by hand? There's got to be some easy way of doing this.
Stop me if you think I'm going in the wrong direction on this. Maybe there's a better way that I'm simply not thinking of.
Here's an example of the checkbox functionality I'm referring to...
This violates the browser security model and also Facebook's policies, you can include a to parameter with the send dialog to preselect one recipient, but you can't modify the browser DOM because the Facebook dialog is in an iframe

Facebook Like button - Yahoo Implementation

Could someone tell me how this could be done?
http://l.yimg.com/p/social_buttons/facebook-share-iframe.php?u=http://www.lifehacker.com
This is basically a Facebook share button that is used by Yahoo in one of their blogs. The reason I am interested in this is because
1. it is very fast.
2. Has very few requests to facebook servers, unlink the Facebook iframe like button.
I currently use the Facebook Iframe button and it makes lot of requests to the fbcdn servers.
It looks to me like you're asking about manually tacking the count on the end of a plain graphic:
http://l.yimg.com/p/social_buttons/facebook-share-iframe.php
If so, what you're talking about is generating a graphic (ie: png, but you can do jog, as well() and maybe using an fb api to get at the current count, if you're not tracking it yourself. Using the API isn't trivial to set up or use, but after you get the pieces in place, fairly intuitive to use.
If you're talking about just doing a different button, I'd advise against it. That's just how that facebook feature works. It's great because it out of the box, though it does have requests to fb servers for it to work.