Retrieving the facebook timeline cover photo
Asked Answered
E

4

7

This question has popped up a few times already. I want to retrieve the cover photo of the facebook timeline via the graph api.

The answer that I have seen mentioned everywhere is that it is not possible. However I came across a site http://www.timelinemoviemaker.com/ which does indeed retrieve your cover photo of the timeline. Is there any special permission granted to the site to access the cover photo? Or have they used some other method to retrieve the cover photo. Please let me know. Thanks in advance.

Eichler answered 6/2, 2012 at 5:22 Comment(0)
A
1

Retrieve the album called "Cover Photos". The timeline cover is at position 1 Visit Getting Facebooks' Cover Photo via PHP SDK & Graph API to retrieve album covers

Allegiance answered 6/2, 2012 at 5:26 Comment(0)
C
8

Now you can access to the cover picture with the api.

https://graph.facebook.com/19292868552?fields=cover

Charleencharlemagne answered 6/6, 2012 at 14:33 Comment(1)
how to get Facebook page cover photoTifanie
A
1

Retrieve the album called "Cover Photos". The timeline cover is at position 1 Visit Getting Facebooks' Cover Photo via PHP SDK & Graph API to retrieve album covers

Allegiance answered 6/2, 2012 at 5:26 Comment(0)
G
0

you can access the cover pic from the api using http get response GET/V2.5/me?fields=cover

GraphRequest request = GraphRequest.newMeRequest(
  accessToken,
  new GraphRequest.GraphJSONObjectCallback() {
    @Override
    public void onCompleted(JSONObject object, GraphResponse response) {
      // Insert your code here
    }
});

Bundle parameters = new Bundle();
parameters.putString("fields", "cover");
request.setParameters(parameters);
request.executeAsync();

but note that u should have the access token generated and registered app in facebook

Gocart answered 11/3, 2016 at 7:41 Comment(0)
G
-4

The easiest way to retrieve your cover photo from Facebook is to right click on the image, select copy image from the pop-up menu, then open up paint, (or whatever program you use for viewing your photos)and then CTL+V for paste.

Gentlemanly answered 30/6, 2016 at 21:33 Comment(1)
The question specified using the graph api.Ribald

© 2022 - 2024 — McMap. All rights reserved.