<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
	<channel>
				<title><![CDATA[facebook album id 어디서 얻나요?]]></title>
		<link>https://www.cosmosfarm.com/threads/rss/document/9719</link>
		<description><![CDATA[<p><span style="line-height:1.6em;">                  FB.api('me/photos', 'post',</span></p>

<p>                        {<br />
                           url:"https://appharbor.com/assets/images/stackoverflow-logo.png",<br />
                        }, function (response){<br />
                            console.log(response);<br />
                            arr[i] = response.id;<br />
                            console.log(arr[i]);<br />
                            i++;<br />
                        });  </p>

<p>photo-id 는 다음과 같은 방법으로 구하였으나..</p>

<p>album-id는 어떻게 구해야 할지 모르겠습니다..</p>

<h3>필드</h3>

<table style="width:676px;"><thead><tr><th style="vertical-align:bottom;white-space:nowrap;">Field</th>
			<th style="vertical-align:bottom;white-space:nowrap;">설명</th>
		</tr></thead><tbody><tr><td style="vertical-align:top;">
			<p><code>id</code></p>

			<p>numeric string</p>
			</td>
			<td style="vertical-align:top;">
			<p> </p>

			<p>The photo ID</p>

			<p> </p>
			</td>
		</tr><tr><td style="background-color:rgb(246,247,249);vertical-align:top;">
			<p><code>album</code></p>

			<p><a href="https://developers.facebook.com/docs/graph-api/reference/album/">Album</a></p>
			</td>
			<td style="background-color:rgb(246,247,249);vertical-align:top;">
			<p> </p>

			<p>The album this photo is in</p>
			</td>
		</tr></tbody></table><p> </p>

<p> </p>

<p><span style="line-height:1.6em;">                 FB.api('me/photos', {fields:'album'},  function(respose){</span></p>

<p>                    console.log(response);<br />
                });  </p>

<p>로 호출하였지만 album-id값은 구해지지 않네요..</p>

<p> </p>

<p>궁극적으로는 담벼락 작성시에 사용자의 앨범에 있는 사진을 여러장 불러와서 글과 함께 게시하는 것이 목적인 상황입니다..</p>

<p>답변 부탁드립니다!</p>
]]></description>
		<copyright>Copyright 2026, 코스모스팜</copyright>
				<item>
			<title><![CDATA[/{user_id}/albums API를 사용하시면 앨범을 가져오실 수 있을겁니다.

GET /me/albums 해보세요.

자세...]]></title>
			<link>https://www.cosmosfarm.com/threads/document/9727</link>
			<description><![CDATA[<p>/{user_id}/albums API를 사용하시면 앨범을 가져오실 수 있을겁니다.</p>

<p>GET /me/albums 해보세요.</p>

<p>자세한건 페이스북 그래프 API 문서를 참고해수세요.</p>

<p><a href="https://developers.facebook.com/docs/graph-api/reference/user/albums/" target="_blank">https://developers.facebook.com/docs/graph-api/reference/user/albums/</a></p>

<p> </p>

<p>참고로 API에서 가져올땐 GET, 업데이트 하려면 POST 입니다.</p>

<p>자세한건 REST API 사용법을 구글에서 찾아봐보세요^^</p>
]]></description>
			<author>스레드봇</author>
			<pubDate>Mon, 25 Jul 2016 14:43:07 +0000</pubDate>
			<category>페이스북 API</category>
		</item>
			</channel>
</rss>