Skip to Content
0

SAP CC FP12 facebook integration

Feb 22 at 02:04 PM

113

avatar image
Former Member

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

ia.png (49.9 kB)
fb.png (56.8 kB)
10 |10000 characters needed characters left characters exceeded
Former Member

Hi,

Can anybody help?

BR,

Sebastian

0
* Please Login or Register to Answer, Follow or Comment.

4 Answers

Ekke Einberg Mar 14 at 09:13 AM
1

Yes, I used "default" key

eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.TJVA95OrM7E2cBab30RMHrHDcEfxjoYZgeFONFh7HgQ

Show 4 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Thanks Ekke,

I tried using this default key:

but still I have 503 error code there.

My configuration in IA:

token.txt

BR,

Sebastian

2.png (79.4 kB)
3.png (10.4 kB)
1.png (43.3 kB)
0

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

0
Former Member

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

0

Any luck?

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

0
Lloyd Goveia
Feb 27 at 10:30 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Feb 28 at 08:51 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Ekke Einberg Mar 12 at 12:53 PM
0

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.

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

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

0