Question
Accenture
CA
Last activity: 22 Mar 2019 8:11 EDT
Facebook Data Set
We are trying to fetch data from Facebook using a Facebook Data Set. Below are the steps I followed to achieve this use case. However, the dataset is not returning any results.
- Created a Facebook App -> Put the App ID and Secret in the Facebook DataSet rule
- Created a Facebook Page with category as “App Page”. Posted a message in the Page
- In the App tools “Graph API Explorer” get the Access token for the Page created in previous step-> Put the Access token in the Facebook DataSet rule. Facebook URL is populated Automatically
Run the DataSet. No result is fetched. In the logs, no exception is thrown.
Can someone please help on this.
***Edited by Moderator Marissa to update platform capability tags****
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
IN
Hi Vikrant,
Can you please re-visit steps as documented here:
Accenture
CA
I did follow all the steps listed in that link. The facebook App which I am using is not public yet. It's still in development status. Could that be the Issue? Do I need to get the App authorized before trying to fetch messages from a Data Set ?
CollabPartnerz
IN
Could you please check whether the access token is expired or not.
CollabPartnerz
IN
Accenture
CA
Thanks. I covered everything listed in that post. I think the app being in development status could be an Issue. Not sure about it. Do you have any idea ?
-
Kalari Tejaswi Martin Clark
CollabPartnerz
IN
will check and revert back to you.
Coforge
US
Hello Vikrat,
Are you able to get the results from Data Set now ? Please update
Accenture
CA
Hi. We had to stop this use case in between because it was not satisfying our requirement of pulling public data from facebook. However, our conclusion is that once the app is authorized and public, the dataset would work. Thanks.
Coforge
US
Thanks Vikrant for the prompt response .Actually my App is authorized and published . Still Data set is returning nothing. The case is same like yours. No errors/exceptions in logs.
Accenture
CA
Hi Aravind. Are you able to resolve this Issue? Please update.
-
Srikrishnakanth Koppuravuri Chenna Reddy Vennapusa
Coforge
US
Hi Vikrant,
Yes. I fixed the issue and data set is returning the results.
Thanks
Aravind
Accenture
CA
Thanks for the quick response. Can you please detail the steps you followed and what was the Issue?
Updated: 10 Sep 2018 23:03 EDT
Coforge
US
Your FB app should be reviewed, approved and live by FB. Post that follow the steps from Page 158 in the below document
https://community.pega.com/system/files/pdfs/pega-customer-service-731-implementation-guide_2.pdf
Common Wealth Bank of Australia
AU
Hi Aravind, To get the app live with manage_pages permission did you have to get the app and your business page verified?
Pegasystems Inc.
IN
Hi,
Thank you for posting your query in the PSC. This looks like an inactive post and hence, we suggest you create a new post for your query. Click on the Write Post button here. Once created, please reply back here with the URL of the new post.
You may also refer this discussion link as a reference in the new thread.
Coforge
US
Feel free to reply if you face any issue while following the guide. You might get 3-4 errors, but I can help you there
Cognizant Technology Solutions
IN
Hi Vikrant,
Can you please explain how did you get the page token of that particular page?
Thanks,
Priyanka
Coforge
US
Hi Priyanka,
You can take the Token from two places. In Pega after you authorization it will be under SampleFBDefinition rule. From Facebook developer app add the messenger or webhooks method and select your page. It will display the Token.
May I know in which version you are working and are you building on top of customer service ?
Thanks
Aravind Krishnan A
Cognizant Technology Solutions
IN
Hi Aravind,
Thanks for your reply. I am doing it in pega 7.4. For the time being I am only trying to fetch data through running the data set stand alone and to check the values in the clipboard. You suggested to add messenger/webhook methods in my FB app. How can I do it?
Thanks,
Priyanka