Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Acquire facebook user profile data

ishanishah
Level 2
Level 2

Hi,

I am following the documentation to acquire user profile data on facebook.

How to acquire fan data? - https://docs.campaign.adobe.com/doc/AC/en/SMK_Annexes_Examples_of_Facebook_apps.html

I get an error when I am trying to offer the users to share their profile information using an Access Control activity in the web application:

The HTTP query returned a 'Bad Request' type error (400) Error when calling https://graph.facebook.com/oauth/authorize?client_id=.......%3D%26accessControl%3DaccessControlSocia.........{"error":{"message":"Can't load URL: The domain of this URL isn't included in the app's domains. To be able to load this URL, add all domains and sub-domains of your app to the App Domains field in your app settings.","type":"OAuthException","code":191

I double checked the App domain on my facebook app, it looks correct.

After reading a few links online, it seems that the facebook response format has been changed recently.

did facebook oauth/authorize get deprecated? - Stack Overflow

https://developers.facebook.com/docs/graph-api/changelog

In Adobe campaign, under "nms:facebookConnector.js", the code is referring to the old parameters.

1467976_pastedImage_3.png

I'm wondering if this code has to changed? Or is this not related to the error that I'm facing?

I am currently using the Version 6.1.1 build 8720 (App server version 6.1.1 build 8850).

Appreciate any help.

1 Accepted Solution
florentlb
Correct answer by
Level 10
Level 10

Hello,

Usually changes performed on Facebook's side can take a few months before they are taken into account in Adobe Campaign. So if this is recent, I would advise opening a ticket to support to let them know about this and initiate the process of updating the product code (in case it is not known already).

Keep an eye on the next release notes to check if that change has been echoed in the product.

Florent

View solution in original post

1 Reply
florentlb
Correct answer by
Level 10
Level 10

Hello,

Usually changes performed on Facebook's side can take a few months before they are taken into account in Adobe Campaign. So if this is recent, I would advise opening a ticket to support to let them know about this and initiate the process of updating the product code (in case it is not known already).

Keep an eye on the next release notes to check if that change has been echoed in the product.

Florent

View solution in original post