cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP CC FP12 facebook integration

Former Member
0 Likes
1,120

Hi guys,

Please help with facebook integration, because I tried to configure webhook to mentioned callback URL on facebook site acording to FP12 installation documentation.

From what I understood I have to put there a link to IA virtual unit where SMS server module is installed:

http[s]://smsserverlocalhttpserverip:port/messaging/facebook/facebook

I don't understand what is exactly the token key there. This is the same as here in IA?

In wireshark I see that facebook trying connect to this callback URL but as you can see facebook receive error 503.

Do you have maybe some sample configuration guide to setup the facebook integration with SAP CC or sth?

Thanks for any response and helpful advice.

BR,

Sebastian

Accepted Solutions (0)

Answers (4)

Answers (4)

ekke_einberg
Explorer

Yes, I used "default" key

eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.TJVA95OrM7E2cBab30RMHrHDcEfxjoYZgeFONFh7HgQ

Former Member
0 Likes

Thanks Ekke,

I tried using this default key:

but still I have 503 error code there.

My configuration in IA:

token.txt

BR,

Sebastian

ekke_einberg
Explorer
0 Likes

503 indicates usually problem in your SMS_Server web part

Three things:

is your URL using FQDN and not IP address?
is your certificate publicly trustable (not some self signed)
what do you see in SMS_server log

Former Member
0 Likes

Hi Ekke,

I use public IP address.

I will check the certificate and let you know because in my opinion this is self signed certificate

In SMS server log in debug level I don't see any connection/handshake events there, but I see in wireshark that facebook connection trying to reach the SMS server and after that SMS server sends back the 503 error code.

BR,

Sebastian

ekke_einberg
Explorer
0 Likes

Any luck?

I also learned that you need to use NUMERIC page ID everywhere. In queue name and in authorisation.

ekke_einberg
Explorer
0 Likes

Hello!

If I remember correctly you need to generate generic token verifycation key at https://jwt.io/ save the key into file at IA and use it when verifying webhook URL at App Dashboard.

Former Member
0 Likes

Hi Ekke,

I saw that you are familiar with this integration. I tried create this verification key but without success result. If this generic token verification key should be created in "debugger" section on this site https://jwt.io/?

BR,

Sebastian

Former Member
0 Likes

Hi Lloyd,

Thank for the answer, good to hear you 🙂

Yes, I started doing that using this documentation, and I stopped on this:

"b. Set up a webhook by entering the above-mentioned callback URL.

Once it is set up, you will have the Facebook page ID and page access token. They are needed to set up configurations for the contact center."

As you can see I'm trying set up webhook there but without success.

BR,

Sebastian

lloyd_goveia
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Sebastian,

I supposed you are referencing the "SAP Contact Center introductory training - part 2".
Have you also looked at the online help for "Facebook Integration"?

Cheers,

Lloyd