Facebook Graph API :: User accounts edge :: Not providing user accounts - facebook

Disclaimer: this is not a April fool's day joke!
Since today, 01/April/2020, Facebook is not answering accounts edge on the user object.
I don't know if you guy's are experiencing the same.
I've tested in the v3.2 to v6.0 api version.
Here's my FG graph query:
/me?fields=id,name,accounts.limit(200){picture,name,access_token,instagram_business_account},email,location,locale,birthday,gender
If I run the query:
//accounts
I get nothing. Empty data.
I've confirmed that I have manage_pages permissions.
I'm alone here?
Has anyone experience this issue?
Cheers,
Luis Teixeira

Related

No permission to access invitable friends facebook

I am trying to read invitable_friends using me/invitable_friends endpoint.
Here is what I am getting:
Here are the properties of my user token:
I suspect that something is wrong with my user token. May it be the case or are there are other problems possible?
I saw the question. The app is submitted and approved, so the answer does not help.
May it be that the problem is about Graph API version?
Will appreciate any help provided.
Here is a very interesting thing. It is said: This edge was deprecated on April 4th, 2018, and can no longer be accessed.. May it be the reason of me getting: No permission to access invitable friends facebook?
https://developers.facebook.com/docs/graph-api/changelog/breaking-changes#invitable-friends-4-4
Invitable Friends API
GET operations on the /user/invitable_friends
edge will now return an empty data set. The edge will be removed
entirely in the near future.

Are there any alternatives to Facebook's /{user}/home deprecated api?

Facebook removed the /{user}/home api on October 6, 2015.
I'm wondering if anyone knows if there are any alternative methods to access news feed data.
I've worked with /{user}/feed but of course that only shows data for the currently logged in user.
I've tested with my wife to be sure and she can only she posts on her wall and I can only see posts on my wall and neither of us can see each others posts no matter what permissions are set on them.
I'd like to think that currently logged in user could access any data via the api that they could via the site (assuming they've granted the proper permissions of course.), but this doesn't appear to be the case.
Of course I am particularly interested in the news feed and I suspect that the there is no alternative but I don't want to give up yet.
I'd like to think that currently logged in user could access any data
via the api that they could via the site
No, that would be a privacy issue, because your app could access data/posts of users who did not even authorize your app and no one knows what you do with the data. So the answer is no, there is no alternative.

Get Mutual_Likes from Facebook Graph API

I am trying to get the mutual likes using the facebook graph API. But I'm having difficulties, I'm testing using the Explorer Application (https://developers.facebook.com/tools/explorer)
Using the following request:
ID?fields=context{mutual_likes}
But if I use my application it returns only the count as
"total_count": 0
But I know there are mutual likes. In fact, if I use the Graph API Explorer Application, (changing the ID) it works and brings the mutual likes.
Both users I'm testing with are friends in facebook and have their likes public. My app has recently been approved to use the user_likes permission. And maybe I'm missing something, I was hoping you could help me achieve this.
I finally figured out why the request returned only the count as 0. It had nothing to do with making the request server-side.
I managed to get the mutual_likes by having the users also approve the user_friends permission. Even though I wasn't going to use it in the GET request.
Apparently you need both permissions (user_likes & user_friends) if you plan to extract anything from the context fields of a user.
Hope it helps someone else.

Choosing correct authentication aproach when working with Facebook Ads API

I am very new to Facebook Ads API so some help or advices about best practices I can use in my case would be appreciated a lot.
The situation:
We have multiple clients that are running advertising campaigns on social sites and Search Engines like Facebook, LinkedId, Google Adwords, Bing and etc. They want to have information from all their campaigns in one database and use this database to run various reports in order to manage their campaigns better (move money from one campaign to another and have better results). So basically we need to perform daily (or should I say nightly) sync. Also we need to mark adds in Facebook that are part of campaigns that are running via our tool (also not a problem to do once logged in). This is done automatically.
That is not a problem in many platforms - we use Google and Microsoft API to connect to the platform, read required data on daily basis or do some changes to URLs automatically.
The question
I was a bit surprised to find out that in Facebook Ads API the only way to authenticate is via tokens that expire quite fast (long term tokens last for 60 days). I am wondering if it is possible to authenticate via API with user name and password or obtain the ticket that is not expiring. The reason - most of our processes will run on nightly basis so any interaction with user to get fresh ticket is not possible.
Asking for permission every 60 days also seems like not an option and offline_access privileges that would suit us perfectly are no longer supported as I understood correctly from the documentation.
So what are authentication options? Is the only possibility to ask user to re-confirm our access rights every 60 days? Is it possible to get access permission once and live with it until user revokes it, or this is not possible?
Thanks in advance for your answers and suggestions!
Facebook did an exception for ads api access tokens. It is still possible to get neverending access token. Reed more here https://developers.facebook.com/roadmap/offline-access-removal. Also, you can check access token type, expiration date and other params here https://developers.facebook.com/tools/debug. Our access tokens shown as Expires: Never.

Retrieving friend's likes from the Facebook Graph API

Howdy- I have been tooling around with the Facebook Graph API and successfully retrieved back a list of my likes, and a list of my friends (once I authenticated using OAuth). But what I really want to achieve is pulling back my friend's likes. When I try and do that, obviously using the same URL that I use to pull back my own likes but subbing the friend's user id for "me", I don't get anything back, unless they have installed the app as well. Then I get them no problem. To be clear, I can only see the likes of friends who have installed my application. So clearly I am running into a security/rights issue of some sort.
I could see where this would be the case; you simply aren't allowed to see your friend's likes unless they have installed the same app. Fair enough, but then how is blekko.com doing it? I even tried using FQL without much luck. I suspect I am missing something totally obvious. Anyone had any luck with this? Maybe with the Javascript API or one of the other access methods? Thanks in advance for any guidance.
Your application needs the permission "friends_likes".
Check http://developers.facebook.com/docs/authentication/permissions for more info on the different permissions.
This SO answer might help if you're having trouble with the authentication / permission request process.