I cannot sync my facebook pages on ChatterOn. What could be the problem of this? - chat

I am a beginner of using ChatterOn on creating chatbot integrated on facebook messenger. The problem is that I cannot sync my facebook pages and it keeps saying this error "#100 Tried Accessing non-existing fields (perms) on node type (UserAccountsEdgeData).
How can I resolve this problem?

You may have figured this out already but Facebook deprecated the perms field when asking for a user's account permissions and replaced it with tasks (https://developers.facebook.com/docs/pages/access-tokens#page-tasks).
In your case ChatterOn probably have an updated version that supports this.

Related

Getting facebook page with app_scoped_user_id is not possible anymore?

Below url gaves the user's facebook page till yesterday. But it's not working anymore.
https://www.facebook.com/app_scoped_user_id/xxxxxxxxxxxxx/
Is there any way to get user's facebook page or it's disabled for a security reason?
Unfortunately, Facebook have chosen to disable the ability to resolve app scoped user IDs, so this feature is now gone. Seems they havent yet responded to people registrered to the bug to let them know.
https://developers.facebook.com/blog/post/2018/04/19/facebook-login-changes-address-abuse/
There's a new permission in Graph API 3.0 that provides a URL link for a facebook profile:
user_link
In order to use that, you have to submit your facebook app for review (and likely have a legitimate reason you need this information.
Update: I went through this process, our app got approved for user_link permission, and it works as advertised.
The user_link variable is an app scoped link that will work as long as the app remains approved, and will stop working if the app should get removed or they revoke the approval. So it's a special URL that really only works as long as the FB app is around.
https://developers.facebook.com/bugs/2054375031451090/
Subscribe to that bug to get updated on the status.
There is also a blog entry about this: https://developers.facebook.com/blog/post/2018/04/19/facebook-login-changes-address-abuse/ - so this is actually not even a bug.
This is no longer possible and will not be, according to https://developers.facebook.com/blog/post/2018/05/01/facebook-login-updates-further-protect-privacy/
Your best bet going forward is to open the Facebook site and search for the user name like so:
JavaScript:
Assume user is an object with a property called name that contains the user's name.
window.open("https://www.facebook.com/search/str/".concat(encodeURIComponent(user.name)).concat("/keywords_users"));
In most cases this will allow you to quickly find the person in question, given that you can still display their profile picture using the app-scoped ID on whichever site lists users. It's not great, but it may be of help to someone. We've resorted to this solution in our CRM.

Facebook Page Creation API throttle limit

I am building an application for clients to be able to create Facebook Page in their account using my own Admin Access Token.
I have Standard Access approved for my Facebook application already.
I tried to create a few test pages using FB Graph Explorer and I succeeded.
I ran into a problem when I tried to create a page using Code in Classic ASP, it says Have reached page creation api throttle limit
FR- https://www.screencast.com/t/hTd4RDozov
I tried to search into the Facebook documentation to find out that when I can get out of this error, but couldn't find any response.
Are there anyone person who has got this error before? Or can someone tell when I can get rid out of this error?
Many thanks
Currently experiencing the same behavior. Talking to Facebook support they say the default limit for page creation is 2 pages per month. This number might be negotiable depending on your usecase.

Facebook Marketing API - no app?

I want to pull ad data (campaigns, ad sets, & metrics like clicks/impressions/ctr) from Facebook using their API and put it into a database. Facebook's documentation says I need to create an app on their site in order to access the API, but that doesn't seem right. I'm not trying to create an app for my fb page, just want to extract data.
My first choice was to use an ODBC driver from
CData
, which does allowed me to successfully pull data from AdAccounts but threw an error when trying to get AdSets or AdStatistics:
OAuthException Code 10: You do not have sufficient permissions to perform this action.
I made sure to add in a target='act_{myAdAccountId}' parameter to the query, as per their documentation, but it didn't help. I figured this meant I didn't configure the driver properly, so maybe I'd have better luck just coding up a solution in python or php.
Next, I tried to run similar API calls using the Graph API Explorer and got the same error message. I created an access token that had all the extended permissions and then made a request to
GET /v2.4/act_{myAdAccountId}/adcampaigns.
This gave me the exact same OAuthException Code 10 error that I was getting through the ODBC Driver.
Can someone confirm whether it's possible to pull data from the API without building an app? If so, what permissions do I need to enable for my account? I'm already an Ad Account Admin in the "Ads Manager", and couldn't find anywhere else to set permissions.
Thanks!
Apps have no direct relation to Pages. You need to create an App for any API access. I did not use the Ads API yet, but i assume you need to use the ads_management permission with your App.
How to create Apps and authorize with the required permissions is explained in the docs: https://developers.facebook.com/docs
Since you asked about Login Review, all the information you need about that can be found in the docs too: https://developers.facebook.com/docs/facebook-login/review
I understand this is an old post, but in case if anyone was looking at a similar situation, I was able to call the Facebook Marketing API without building an app.
I posted a similar answer on another more recent question (Do I need a publicly accessible webserver in order to user Facebook's marketing API?), and was curious if this situation puzzled anyone else, which led me to here.
I wrote my API calls using Python 2.7 on Juypter notebook, and I just followed Facebook's Marketing API documentation and examples, modifying with my access tokens and account information.

UserPro Facebook Login Error

I've been using a Premium WordPress plugin UserPro, and for some reason, the facebook sign-in feature doesn't work. While Twitter and Google+ sign in work perfectly.
Every time I try logging in via facebook it says "Cannot Sign in! Looks like some error with Facebook email id". I've tried logging in via multiple email IDs to no avail.
Apparently its "a problem with my app setup" so could anyone give me tips on how to set up the app for this plugin? Also, is there some sort of issue with Facebook apps and test websites (my website is currently on a webhostbox.net URL and that is the URL I've been entering for the app.
Looks like the plugin hasn't been updated to reflect the changes that came with Graph API v2.4. Or, you're using an outdated version. If you pay for that, refer to the creator of the plugin if it's already v2.4 compliant.
See
Facebook only returning name and id of user

Is it possible to create a Facebook page using their API?

Our client is wanting to have their application actually create new pages on behalf of a user. I've found a couple of workarounds for posting items to pages that already exist, but nothing for creating new pages (although the documentation on Facebook pages is pretty sparse). Any suggestions?
your APP need Standard Access permission from Facebook. Once you have this permission you can performance this action using /{user_id}/accounts, to create a new page under this user. This is my way to create new pages, and It works.
Yes, but you will need to first get Standard access to the Facebook Marketing API.