java - Facebook4J Friends Album Photos -
I am using Facebook4J with processing / Java and I am trying to extract information about friends' pictures. I used the code a few months ago, and it was working fine, but now it gives all the areas an empty space. Can anyone help in this problem? Here's how I used to extract photos:
User fbUser = facebook.getUser (userID); ResponseList & LT; Album & gt; Album = facebook.getAlbums (userID); String target aluminum id = ""; ImgArray = new array list & lt; PImage & gt; (); (Album album: album) {// Get album id if it matches string (album.getName (.) Equal ("cover photo")) {targetAlbumId = album.getId (); break; }} // Get all the photos related to that album ID / Create string arrays to respond to all photo ID names Response list & lt; Photo & gt; Photos = facebook.getAlbumPhotos (targetAlbumId); ArrayList & LT; String & gt; GetPhotoId = New Arrestist & lt; String & gt; (); // Get all the photos in high quality Create an array list of all photo IDs, and create an array list of all photo IDs (to use later to get their likes) (photo photo: photos) {URL high Quality = photo.getImages (). Get (0) .getSource (); ImgArray.add (loadImage (highQuality.toString ()); GetPhotoId.add (photo.getId ()); }
When your app is using Grape API v2, Can not access photos. 0 or more
View
-
All friend_ * permissions have been deleted.
Comments
Post a Comment