Note that there are some explanatory texts on larger screens.

plurals
  1. POSave facebook connect profile picture to own server
    primarykey
    data
    text
    <p>I am working in an application which uses facebook connect to fetch a user’s profile picture. But after the connection is made I still have to be able to crop and resize the “large” image. Therefor I want to download the profile picture from the facebook server to my own server.</p> <p>As of now I am not able to download the picture to my server. Here is what I am doing:</p> <ol> <li>The facebook profile picture get sync in our application from facebook with the following path <a href="http://graph.facebook.com/uid/picture?type=large" rel="nofollow">http://graph.facebook.com/uid/picture?type=large</a></li> <li>Now we need the image to be get saved locally from the URL mentioned above</li> <li>Crop it and display it, but we are unable to save the image from the provided URL</li> </ol> <p><strong>Question</strong></p> <p>• So how we can save the facebook profile picture in our server using this path <a href="http://graph.facebook.com/uid/picture?type=large" rel="nofollow">http://graph.facebook.com/uid/picture?type=large</a>?<br/> • Or what is the other solution to save facebook profile? Picture to be save in our server first before displaying it?<br/> • How do we still keep it in sync with facebook if we use the saved picture?</p> <p>Then I have another question:<br/> How do you delete the cookies for a once established facebook connect connections if a user does not want to use facebook connect no more? If have tried to do this with the following code but no results:</p> <pre><code> var api_key = "135xxxxxxxxxxx"; var channel_path = ""+2; FB.init(api_key , cookie:false, channel_path, { "ifUserConnected": update_user_box }); Function update_user_box(){ Var fbId=FB.Connect.get_loggedInUser(); </code></pre> <p>The code given above to delete the false cookie is not working. What do I have to do to resolve this issue?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload