Facebook App last seen user - facebook

Is there a way to know if a user is using my Facebook app in this moment? I tried to browse the Facebook Api Docs but is not very documented.
Thank you.

I suggest to track with last photo uploaded, last like, last comment, last post in time line etc. Which seems available in Facebook API.
Not that easy but acceptable.

Related

Is it possible to delete photos/ albums of the current user on facebook?

Well, is there any way to delete user photos or albums via facebook Graph API? I've seen Delete ALBUM Facebook Graph API?, but I am not quite sure if this is up to date. Is there any way to do this with any sdk provided by facebook?
(I would however prefer something related to php sdk, since I am more familiar with it)
I don't think so (for albums), I had the same issue some days ago and apparently, an application does not have the capability to make this kind of API call.

Providing users with a way to detag their Facebook photos

I run a social membership club and my website users can log into my site with each having their own profile page.
On each of my user's profile pages, I want to display a list of photos which have been tagged with that user on Facebook. I know this part is possible.
The bit I am struggling with is giving each of my users the ability to 'untag' themselves in each photo of them that is displayed in the list. The 'untagging' should happen directly from my site. Is this possible and how could I go about doing this?
Hope someone can help/has ideas?
Unfortunately, there's no facbeook API that allows removal of photo tags at this time of writing.
Its not documented and I haven't tested this but I'd chance issuing a DELTE request to
/PHOTO_ID/tags/USER_ID
Worth a shot through the graph explorer anyway.

Facebook status post via app doesn't show in Newsfeed

I am using facebook graph api to post a status to Facebook via my app.
The problem is I can't see the status post in NewsFeed, but in the
Wall of the user.
I just used me/feed accordingly to GraphAPI documentation.
When I searched this issue, I saw quite similar thing http://developers.facebook.com/bugs/302089206530370.
This one is quite similar one too .Facebook graph post on feed is not visible in newsfeed, but that api is deprecated a long time ago and not the same API that I am using.
This one is exactly the same like my issue. http://developers.facebook.com/bugs/353691264693202 but sadly, facebook doesn't provide info in detail. can't find the duplicate issue.
I asked for scope=user_photos,read_stream,publish_stream,offline_access,user_status,friends_status grant access for my app.
Is there anything that I missing out?
Edited: I confirmed my setting of whether I have set to hide my app post in my newsfeed too. But I didn't set it.
I think that is the facebook bug. already found the similar one reported http://developers.facebook.com/bugs/372776119424090?browse=search_4fc3354fb769c0726100997
For the time being, I can only wait for Facebook to fix that bug.
Thanks.

How to get Facebook page notification via Graph API

Got a issue with Facebook Graph API. I want to read page notifications via Graph API. But Facebook documentation only states about user's notification.
Following only returns a user's notification (the user who provided the access token for this.)
http://graph.facebook.com/me/notifications
I did following techniques. But no luck.
01. But i tried with different urls with access token provided by the page. (with my stupid guess work by replacing page-id for me)
http://graph.facebook.com/page-id/notifications
02. Checked with Insights API. But Insights doesn't provide a straight forward solutions. This is more like stats. But all i just need a list of latest user/fan/post actions in the page.
https://graph.facebook.com/page-id/insights/field
Some background about my App (hope no issues with this as other API's working),
Platform .Net 4.0
Library I am using is C# Facebook SDK
Facebook documentation doesn't help much. I have spent a few day on this to find a solution for this. Just wondering if any of you guys came across this issue and solved. I hope i didn't put a duplicate question here, as i did search for few days on Stackoverflow too.
Thanks.
There isn't a page notification API. I don't believe there is any way to directly query this data.
You can get notifications of changes to a Facebook page using the Real-Time API. https://developers.facebook.com/docs/reference/api/realtime/
Facebook now allows you to read Page unread notifications by querying the edge: {page-id}/notifications.
See https://developers.facebook.com/docs/graph-api/reference/v2.7/page/notifications
From the FB Page docs for the notifications edge...
Notifications for this Page. Deprecated April 30, 2019.
Looks like the only way to track Page notifications at the moment is via the realtime Webhooks for a page, which isn't the same as reading the notifications from FB but it appears to be where we're at...until FB changes their mind again. ;)
https://developers.facebook.com/docs/pages/realtime/

Facebook graph API likes request doesn't work anymore

Last time I got the way to know how many users liked a photo with this way:
https://graph.facebook.com/161820597180936/likes?limit=1000
But I don't know why it doesn't work anymore. Now it only returns 3 or 4 facebook users in the case they work very well before. It happened 2 days ago, so I guess facebook changed something in it's API. Any suggestions on how to solve this problem?
This is a bug in the Graph API, and should eventually be fixed by Facebook.
Facebook has pledged to provide 90 day notifications before making breaking changes to the API, so it is important to file bugs even if you assume that a change was intentional but there was no prior notification.
Now it comes back as a part of the Graph API data set.
Look at the page - https://developers.facebook.com/docs/reference/api/ - for what the API header is, and then under the photos, it'll show you the data set that gets returned from the photo api request - (PHP example - https://graph.facebook.com/98423808305)
Hope that helps.