Note that there are some explanatory texts on larger screens.

plurals
  1. POandroid how to obtain "any valid access_token" in android?
    primarykey
    data
    text
    <p>In order to get the aid of the albums (or other fields in this field) in the official documentation <a href="https://developers.facebook.com/docs/reference/fql/album" rel="nofollow">https://developers.facebook.com/docs/reference/fql/album</a> says that I need:</p> <ul> <li><b>any valid access_token if it is public.</b><br> <li>user_photos permissions if it is not public and belongs to the user.<br> <li>friends_photos permissions if it is not public and belongs to a user's friend.<br> </ul> <p>I don't get the info I need from the album field when I use "SELECT aid from album WHERE owner = me()". <br> The permissions I have added in my android app, but:<br> 1.-How do I get that valid acces_token in android?<br> 2.-what is exactly that valid acces_token the document specified? <br> 3.-if you can please provide a sample of code.</p> <p><b>Edit, the solution:</b><br> I have solved my problem, and apparently the valid access_token is used automatically when you start a query, also my query is: <code>SELECT pid FROM photo WHERE owner = me() AND aid IN (SELECT aid FROM album WHERE owner = me())</code></p> <p>The token is a long-term and will expire during 60 days and to get another one, simply log out and log in again and you will get a new one.</p> <p>Finally this is my permissions:</p> <pre><code>"user_likes", "user_status", "friends_birthday", "friends_location", "friends_relationship_details","friends_relationships", "user_photos","friends_photos","user_friends", "email" </code></pre> <p>Hope this help others in the future.</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