Author Topic: Facebook and Twitter (Social Media) using PSDK  (Read 15775 times)

Offline gstkein

  • Jr. Member
  • **
  • Posts: 56
  • Karma: 4
Facebook and Twitter (Social Media) using PSDK
« on: September 24, 2015, 04:35:43 PM »
I know there are plugins for IWS to do this, I have to replicate the functionality provided by this plugins in Platform SDK.

I have no Idea where to find documentation regarding how to do this, I would appreciate help and also if anyone could provide a code sample
or a tip on how this is done itīd be great.

I donīt know if I should interact only with the Interaction Server, or the UCS server or if thereīs a protocol for the Social Messaging Server.

Thank you

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2752
  • Karma: 44
Re: Facebook and Twitter (Social Media) using PSDK
« Reply #1 on: September 25, 2015, 06:41:55 AM »
If I remember well, the interact is just between IWS/WDE and IXN-UCS, not direct with Soc.Messaging Server. The event-flow should be in general same as for any other non-voice interaction, of course with some differencies in used fields,userdata, etc. I am afraid that there are no documentation strictly related to that.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: Facebook and Twitter (Social Media) using PSDK
« Reply #2 on: September 25, 2015, 11:59:58 AM »
SM just converts any FB or Tweeter or any app (message got via FB API for example) to a Genesys Interaction. As such is sent to Interaction Server and all magic begins.
Just use standard PSDK for Multimedia inteactions.

Offline gstkein

  • Jr. Member
  • **
  • Posts: 56
  • Karma: 4
Re: Facebook and Twitter (Social Media) using PSDK
« Reply #3 on: September 25, 2015, 02:23:16 PM »
Ok, thanks, so I should connecto to Interaction Server and UCS only. I guess Iīll have to reverse engineer the messages since thereīs no documentation at all :(

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: Facebook and Twitter (Social Media) using PSDK
« Reply #4 on: September 25, 2015, 03:20:39 PM »
What you mean no documentation? User data is user data, what Facebook API provides as Facebook data is not responsibility of Genesys, you should read the FB API documents.
Genesys does has all documentation on how to handle an interaction via Multimedia SDK. No magic nor missing info.



Enviado de meu C6603 usando Tapatalk


Offline gstkein

  • Jr. Member
  • **
  • Posts: 56
  • Karma: 4
Re: Facebook and Twitter (Social Media) using PSDK
« Reply #5 on: September 25, 2015, 03:31:39 PM »
I thought the facebook driver for the Social Messaging Server handled that and that I only had to create a new interaction for the media and specify some parameter such as comment or like and Genesys solved the details.

Would you be so kind as to point me to the documentation  on how to handle an interaction via Multimedia SDK, I mean wich manual would help me with that?

And if you could explain a minimum example on how to interact with facebook api using user data, just to grab the idea it would be really helpful.

Thank you

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: Facebook and Twitter (Social Media) using PSDK
« Reply #6 on: September 25, 2015, 04:11:49 PM »
Fb plug-in will convert all data received from FB to Genesys TLib, making values a part of attached data. So forget about that part. You will just need to interact, as said, as email interactions for example, with IXN and UCS if needed.
Documentation is part of the PSDK itself. It has samples there. No documentation will say, for fb do A, for chat do B, and so on. SDK is the same for all channels.
If you wanna know what attached data is provided to Genesys then just open an IXN log and will see the attached data.

Offline gstkein

  • Jr. Member
  • **
  • Posts: 56
  • Karma: 4
Re: Facebook and Twitter (Social Media) using PSDK
« Reply #7 on: September 29, 2015, 03:05:38 PM »
Yes, so I guess I have to reverse engineer a conversation between IWS and the server in order to know how to post a comment or a like in fb and the rest should be like accepting an invitation and editting interaction data.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: Facebook and Twitter (Social Media) using PSDK
« Reply #8 on: September 29, 2015, 08:34:27 PM »
? What on earth are you talking?
Why reverse engineering? The application already does it for you... Just read the user manual and see sample videos.
No magic nor mysteries to have you doing magic.

Offline gstkein

  • Jr. Member
  • **
  • Posts: 56
  • Karma: 4
Re: Facebook and Twitter (Social Media) using PSDK
« Reply #9 on: October 01, 2015, 02:53:47 PM »
I am developing a java program using PSDK, and I know how to work with emails and chats using the interaction server and UCS server, but
I have no idea on how to work with facebook interactions.

To which usermanual and sample videos are you refeering?

And thanks for you time and replies.

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2752
  • Karma: 44
Re: Facebook and Twitter (Social Media) using PSDK
« Reply #10 on: October 02, 2015, 10:46:11 AM »
As have been mentioned for several times, the Genesys event model is still same for FB or Twitter types of interaction. Do not reinvent the wheel...

Offline gstkein

  • Jr. Member
  • **
  • Posts: 56
  • Karma: 4
Re: Facebook and Twitter (Social Media) using PSDK
« Reply #11 on: October 02, 2015, 01:36:45 PM »
I do understand that, the String parameters needed for Facebook and Twitter messaging is what I donīt know, I mean like when I create a new Interaction and I have to set itīs parameters, I dont know how to send a comment or a like for example.

I know how to reply an email

Offline Roath

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: Facebook and Twitter (Social Media) using PSDK
« Reply #12 on: February 04, 2016, 11:00:36 PM »
I know this is old.. but if you need any help in this area in the future I maybe able to help.

I have built facebook and Twitter monitoring and routing solution for another CTI platform end to end.. so I can help out with the agent side of things. ( handling the data and how to make something the agent can use)

There are way to many variables to just give an answer..  but happy to help where I can.

Rob

Offline gstkein

  • Jr. Member
  • **
  • Posts: 56
  • Karma: 4
Re: Facebook and Twitter (Social Media) using PSDK
« Reply #13 on: February 12, 2016, 09:35:05 PM »
Hello Roath, thank you, any help you can provide will be very welcome and if you have code examples or info on where youīve learnt how to do what you did, that would be great to.

As I said before, I know how to handle interactions, EventInvite, RequestSubmit, accept, transfer, placeInQueue etc, what I donīt know is the parameters needed for facebook or twitter interactions, for example, how to create a LIKE or a comment, or a tweet, or how to read them, and what info I should get from IS and from UCS, altough I could do the later by experimenting.

So any help would be great, and thanks!

Offline Sudherson Nadar

  • Newbie
  • *
  • Posts: 16
  • Karma: -2
Re: Facebook and Twitter (Social Media) using PSDK
« Reply #14 on: April 20, 2016, 05:29:07 AM »
Hi,
you have to interact with both Interaction as well as UCS so that you get a proper chain.
Bcs For every Interaction. Interaction Id is created and with the help of that ID you can retrieve the data from UCS though.
So You have work with both IXN server and UCS

Thank you.
If any Mistake please Ignore it.