I'm trying to get Facebook albums photos using graph API, but the issue is that i can only fetch the albums photos for the account(deepak#triusmail.com) by which I have created App.
If I try to login from this account then I can fetch the details but if I go for other Facebook account then It will not work.
Can anybody have time to look into this
Please review the response in console after login.
I found an answer that If our app was created after April 30th 2014, then we have to get our app reviewed by Facebook to gather albums photos.
https://developers.facebook.com/docs/apps/upgrading#upgrading_v2_0_login
https://developers.facebook.com/docs/apps/changelog#v2_0_permissions
Thanks
Related
I'm struggling with Facebook Graph APIs: I'm trying to get all the people tagged in a photo but I only get myself as user tagged (also if there are more users tagged in the photo).
Is there any way to get all people tagged in a photo by Graph API?
Thanks
Stefano
No, there is no way - only users who authorized your App too would show up. If a user did not authorize your App, he will not show up anywhere in any API call, for privacy reasons.
given an app using facebook graph API and a logged in user, is it possible to retrieve programmatically likes/movies/music of a friend of the logged in user?
I'm trying to achieve that with the graph explorer but I'm getting empty data.
Thanks in advance.
No, all friend permissions have been removed. You are only supposed to get data of users who authorized your App.
https://developers.facebook.com/docs/apps/changelog
Scenario: logged with my Facebook account and using a browser, I'm able to see some photos and albums of some users which aren't friends of mine (with a privacy setting of public or similar) and quite all their past profile photos.
For example the URL
https://www.facebook.com/<userid>/photos_all shows those photos.
I want to replicate behaviour with Graph API but GETting
https://graph.facebook.com/<userid>/photos?access_token=...
Gives me an empty data array.
Same scenario using tagged or albums instead of photos
I've tried to use site scraping but FB website uses AJAX to populate gridview of photos, so It's very difficult.
On Graph API Explorer I've requested and use an access token with all permissions and also a debug access token but I'm still unable to get other users' photos.
It's possibile to get photos of users which aren't in friend list with Facebook Graph API? Am I missing something?
For privacy reasons, it´s not possible to get the photos of OTHER users with the API. Even for the authorized user, you need the user_photos permission.
Scraping is not allowed btw: https://www.facebook.com/apps/site_scraping_tos_terms.php
How do I access facebook friends' recent pictures of my users on my facebook app? I would like my users to see a recent feed of the pictures that their friends are posting on facebook (regardless if that user is tagged in the picture or not.
I have seen this in an android application and I wanted to program it for a website app.
Not sure why Android is tagged here but use the Facebook API
I am starting out with the Facebook SDK for iOS and in my app I am trying to get the users news feed and load it into a uitableview. This is proving tricky.
I can't find any documentation on it either.
using the Facebook SDK, you can call Facebook Graph API using:
[facebook requestWithGraphPath:#"me/home" andDelegate:self];
to get the current user's newsfeed. You can then use the returned data to populate your tableview. More info about TableView can be found at http://developer.apple.com/library/ios/#documentation/userexperience/conceptual/TableView_iPhone/TableViewStyles/TableViewCharacteristics.html
This is a comment on the suggestion to use #"me/home" (I couldn't comment because i have low reputation so far)
As i understood you can't use me/home anymore for iOS or Android because Facebook won't let you use read_stream permission which is necessary for me/home. I mean you won't be able to pass a Facebook app review if you use read_stream permission
Instead you can use:
1) me/feed but it gives only user profile's posts and no newsfeed
2) or get liked pages with me/likes and get each page's feed with page-id/feed