MGC EVO Chat questioon - chat

I have mgc chat and I need to run a query when a user submits a message. I know what query etc but I don't know where to add it.
Does anyone know where I have to add it?
I am using mgc chat evo.
Thanks.

Related

Is there a way to embed an iframe in an email with text that updates?

I want to embed an iframe inside an email that contains the 10 most recent chat messages. Is there a way to make this iframe dynamic so that it always shows the latest 10 chats regardless of when the email is opened? If the iframe is not the correct way to do this, is there a better way?
You can implement an iframe into the email - but your mail will be recognized as spam by many providers.
You should try to render your content dynamically into an image and implement that image into the email.
There kind of is a solution. It is using Dynamic CSS with a fallback of a Dynamic image to pull the information. It is not elegant really as for some clients (e.g. Outlook) this is not available at all and will only display initial information. It also utilizes a link for a style sheet which also severely limits which clients this will work in.
The fall back dynamic image is a bit more comprehensive in client support, but much harder to maintain as you will need to build something that programatically pulls the tweets (HTML webpage potentially) and then also have something that creates and hosts an image for the email to pull. This is not a short, simple thing to set up and may not be worth the required back end work for a simple email.
See this link for a bit more in-depth info on how this can be done for adding a live twitter feed into an email: https://litmus.com/blog/how-to-code-a-live-dynamic-twitter-feed-in-html-email
Since there was no accepted answer i thought i would give my input as well.
Litmus had done something similar for their live twitter feed in emails sometime ago.
The method i can think off is to create a PHP page which takes 10 images and makes it into 1. PHP can have a loop that checks for increments from a specific number and if it exists then add to that 1 image. When there is a new chat image added, PHP will disregard the last one and add the new in the loop.
For anyone reading this in 2022, this is possible with AMP.
Instead of an iframe, you can create a dynamic email easily.
check out amp.dev
Note: AMP is not supported by many email clients

How to access Webservices(eventful.com) from Phonegap

How to Access Particular website like (eventful.com) API in Phonegap using Xml Parsing, For eg I will press search button by texting like "Banglore" in my phonegap means it retrieve events in banglore from eventful website.please give a simple and clear demo using some sample websites. Thanks in advance

Retrieving image from salesforce for iOS

I m working on iOS integration with SalesForce. I stuck in following points.
I m using #"SELECT Contact.FirstName FROM Contact" query for getting all member list. Now i want retrieve profile image and company logo for above FirstName person. How can I get these info. One more thing I m using ZKSForce framework.
Thanks.
#Swap
There is no images as standard fields for the Contact object so I don't know what you thought you were trying to retrieve.
Using the user record you can retrieve the chatter photo of a particular person, but I am not aware of such a feature on contact unless you have added it as a custom field. If you provide some more information I might be able to help further.
Paul
# Swap, they have not implemented any function for retrieving image for any user or company logo.
You can see this link for more information.
They are simply returning this information in loginResult.

predefine message facebook send button

I would like to use the fb send http://developers.facebook.com/docs/reference/plugins/send/ button but would also like to predefine the message so a user does not have to think about what to say and only fill out the recipients. Can this be done? And how?
As far as I know Facebook APIs do not let you to format or send messages on behalf of you to your friend. That would be pretty spammy.
Maybe you could try to use javascript and jquery in order to set a text message in the textarea when your user click on the Send button, just look for the class of these elements and create a quick script.

The app test users are unable to like the page.

I'm developing a facebook application and I need test users to test it.
I know that facebook provides now the possibility to create tests users, but they can't "like" a public page and this prevent me to use them because the "likes" is the only thing I need.
Do you know any solutions?
Thanks in advance.
Adding Like button code is quite simple, so if the goal of your testing is to make sure it will work properly with Facebook, all you need is to generate Like code using FB Reference , and you can be confident it works without testing.
If the goal of your testing is testing something else, based on number of responses, and you need a good representation of numbers (e.g. 10, 100, 1000, ...), you have 2 options:
hook "pseudo like" to some file/db table where you can change it as you want, test with all the numbers you need to test, and then replace with real FB Like
since Like is based on URL, during testing you could test your logic using Like code for some other pages (that already have different number of likes). For example reference page I gave a link to above, has about 65k likes, so I could use code for that page temporarily to test my logic for 65k likes.
After that you still can test a few numbers by using your friends as test subjects of course.
If only there were a website where you could ask all of your friends to help you... a website that included the ability for those friends to "like" whatever it is you are working on... you'd have to ensure that those friends were willing to spare a brief moment of the work day to (gasp) not work and view the website instead...
Sarcasm aside, I think your best bet will be to ask the people on facebook for a few likes just to help you with a project.