<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Photobucket Developer Forum</title>
        <description>Photobucket Developer discussion and support.&lt;br /&gt;
Have questions about the API? Visit our &lt;a href=&quot;/developer/faq&quot;&gt;frequently asked questions&lt;/a&gt;.&lt;br /&gt;
To get the latest news for developers and the Photobucket API, visit our &lt;a href=&quot;/developer/forum?list,1&quot;&gt;Developer Blog&lt;/a&gt; or subscribe via &lt;a href=&quot;/developer/forum?feed,1,type=rss&quot;&gt;RSS&lt;/a&gt;.</description>
        <link>http://photobucket.com/developer/forum?index</link>
        <lastBuildDate>Thu, 26 Nov 2009 19:03:11 -0700</lastBuildDate>
        <generator>Phorum 5.2.9a</generator>
        <item>
            <guid>http://photobucket.com/developer/forum?read,2,1011,1012#msg-1012</guid>
            <title>Re: Non-Web User Login using Email as Identifier</title>
            <link>http://photobucket.com/developer/forum?read,2,1011,1012#msg-1012</link>
            <description><![CDATA[ Sorry for this thread. I solve this problem by encoding the character '@' to %40. <br />
<br />
Kent]]></description>
            <dc:creator>realch3cho</dc:creator>
            <category>Photobucket API Support</category>
            <pubDate>Wed, 25 Nov 2009 23:52:08 -0700</pubDate>
        </item>
        <item>
            <guid>http://photobucket.com/developer/forum?read,2,1011,1011#msg-1011</guid>
            <title>Non-Web User Login using Email as Identifier</title>
            <link>http://photobucket.com/developer/forum?read,2,1011,1011#msg-1011</link>
            <description><![CDATA[Hello everyone.<br />
<br />
I gets a 404 response when trying to do a Non-Web User Login using Email as the identifier.<br />
<br />
The URL I post to is like &quot;http://api.photobucket.com/login/direct/account@company.com&quot;. Does the character '@' here have anything to do with this error?<br />
<br />
By the way, I succeeds to do the Non-Web User Login using the username as the identifier.<br />
<br />
Could anyone help me out, please? Thank you very much.<br />
<br />
Kent]]></description>
            <dc:creator>realch3cho</dc:creator>
            <category>Photobucket API Support</category>
            <pubDate>Wed, 25 Nov 2009 22:44:32 -0700</pubDate>
        </item>
        <item>
            <guid>http://photobucket.com/developer/forum?read,2,107,1010#msg-1010</guid>
            <title>Re: Timestamp Invalid?</title>
            <link>http://photobucket.com/developer/forum?read,2,107,1010#msg-1010</link>
            <description><![CDATA[ I think you need to disable the timestamp check]]></description>
            <dc:creator>walidaly</dc:creator>
            <category>Photobucket API Support</category>
            <pubDate>Mon, 23 Nov 2009 00:58:59 -0700</pubDate>
        </item>
        <item>
            <guid>http://photobucket.com/developer/forum?read,2,884,1009#msg-1009</guid>
            <title>Re: Image uploads with PBAPI</title>
            <link>http://photobucket.com/developer/forum?read,2,884,1009#msg-1009</link>
            <description><![CDATA[ same here<br />
I even changed timestamp method<br />
<pre class="bbcode">
public static function getTimestamp() {
        //return 1191242096; //example from spec
        return file_get_contents('http://api.photobucket.com/time');
    }</pre>
<br />
I have not had any problems with the get() methods tho]]></description>
            <dc:creator>walidaly</dc:creator>
            <category>Photobucket API Support</category>
            <pubDate>Mon, 23 Nov 2009 00:16:22 -0700</pubDate>
        </item>
        <item>
            <guid>http://photobucket.com/developer/forum?read,1,807,1008#msg-1008</guid>
            <title>Re: API Updates!</title>
            <link>http://photobucket.com/developer/forum?read,1,807,1008#msg-1008</link>
            <description><![CDATA[ <img src="http://i877.photobucket.com/albums/ab331/byte_02/bedanktplaatjes/bedankt71gl1yh6.gif" class="bbcode" border="0" />]]></description>
            <dc:creator>byte_02</dc:creator>
            <category>Developer Blog</category>
            <pubDate>Thu, 19 Nov 2009 08:51:50 -0700</pubDate>
        </item>
        <item>
            <guid>http://photobucket.com/developer/forum?read,2,1004,1007#msg-1007</guid>
            <title>Re: Upload from Site</title>
            <link>http://photobucket.com/developer/forum?read,2,1004,1007#msg-1007</link>
            <description><![CDATA[ i would like this script also]]></description>
            <dc:creator>sam2332</dc:creator>
            <category>Photobucket API Support</category>
            <pubDate>Wed, 18 Nov 2009 21:15:05 -0700</pubDate>
        </item>
        <item>
            <guid>http://photobucket.com/developer/forum?read,2,850,1006#msg-1006</guid>
            <title>Re: Problem - Exception Invalid method 100</title>
            <link>http://photobucket.com/developer/forum?read,2,850,1006#msg-1006</link>
            <description><![CDATA[ I have used the trunck version of photobucket api to upload video in my account but it is giving me <br />
Exception of invalid method 100.Please tell me the solution of this problem.]]></description>
            <dc:creator>rink999</dc:creator>
            <category>Photobucket API Support</category>
            <pubDate>Wed, 18 Nov 2009 01:02:43 -0700</pubDate>
        </item>
        <item>
            <guid>http://photobucket.com/developer/forum?read,2,1005,1005#msg-1005</guid>
            <title>Insufficient privileges to access private album</title>
            <link>http://photobucket.com/developer/forum?read,2,1005,1005#msg-1005</link>
            <description><![CDATA[ hi,<br />
<br />
I'm having a problem with insufficient privileges to access private album.<br />
When I created my class that retrieves the pictures, retrieval of private album<br />
photos was successful, but when I transferred  it to my page and I used Ajax<br />
to retrieve the photo via the class I created, the response is already giving<br />
me Insufficient privileges to access private album.. I won't be able to provide any<br />
code for this but can anyone please provide a couple of possible causes for this?<br />
<br />
Thank you very much.]]></description>
            <dc:creator>benjosilverio</dc:creator>
            <category>Photobucket API Support</category>
            <pubDate>Thu, 12 Nov 2009 00:23:39 -0700</pubDate>
        </item>
        <item>
            <guid>http://photobucket.com/developer/forum?read,2,1004,1004#msg-1004</guid>
            <title>Upload from Site</title>
            <link>http://photobucket.com/developer/forum?read,2,1004,1004#msg-1004</link>
            <description><![CDATA[ Hi,<br />
<br />
I have a question. I am creating a PHP script.<br />
<br />
It is like a gallery / portfolio.<br />
<br />
They upload image from their computer and I need it hosted on my photobucket account.<br />
<br />
I know the PHP/HTML to where they enter info and then I am having the form POST to upload.php<br />
<br />
What should be in upload.php in order for the uploaded photo to go to my photobucket account.<br />
<br />
Thanks!!]]></description>
            <dc:creator>j11561test</dc:creator>
            <category>Photobucket API Support</category>
            <pubDate>Tue, 10 Nov 2009 19:46:46 -0700</pubDate>
        </item>
        <item>
            <guid>http://photobucket.com/developer/forum?read,3,920,1003#msg-1003</guid>
            <title>Re: Need sample for direct authentication</title>
            <link>http://photobucket.com/developer/forum?read,3,920,1003#msg-1003</link>
            <description><![CDATA[ anyone has a direct authentication i need one <br />
<br />
tnx]]></description>
            <dc:creator>ivyquantumx</dc:creator>
            <category>Code Examples and Libraries</category>
            <pubDate>Tue, 10 Nov 2009 02:04:56 -0700</pubDate>
        </item>
        <item>
            <guid>http://photobucket.com/developer/forum?read,2,343,1002#msg-1002</guid>
            <title>Re: Application pending</title>
            <link>http://photobucket.com/developer/forum?read,2,343,1002#msg-1002</link>
            <description><![CDATA[ me too]]></description>
            <dc:creator>ivyquantumx</dc:creator>
            <category>Photobucket API Support</category>
            <pubDate>Tue, 10 Nov 2009 01:53:36 -0700</pubDate>
        </item>
        <item>
            <guid>http://photobucket.com/developer/forum?read,2,1001,1001#msg-1001</guid>
            <title>how to pass login screen ?</title>
            <link>http://photobucket.com/developer/forum?read,2,1001,1001#msg-1001</link>
            <description><![CDATA[ PhotobucketNet.Photobucket p = new Photobucket(&quot;apikey&quot;, &quot;secretkey&quot;,true);<br />
<br />
p.LaunchUserLogin();            <br />
//breakpoint<br />
p.RequestUserToken();<br />
<br />
it works if i type username and password every time, and give me an key starts with req_<br />
and i dont know how to use that key ? Could you help me pls ??]]></description>
            <dc:creator>talhakosen</dc:creator>
            <category>Photobucket API Support</category>
            <pubDate>Fri, 06 Nov 2009 15:52:00 -0700</pubDate>
        </item>
        <item>
            <guid>http://photobucket.com/developer/forum?read,3,1000,1000#msg-1000</guid>
            <title>.NET Userlogin *???</title>
            <link>http://photobucket.com/developer/forum?read,3,1000,1000#msg-1000</link>
            <description><![CDATA[ Hi <br />
<br />
PhotobucketNet.Photobucket p = new Photobucket(&quot;apikey&quot;, &quot;secretkey&quot;,true);<br />
p.LaunchUserLogin();     ---&gt; it asks username and password       <br />
// breakpoint   <br />
p.RequestUserToken();  <br />
Response.Write(p.CurrentUser.Username);<br />
<br />
it works, p.LaunchUserLogin();  give me a code starts with req_ and everytime it changes.<br />
<br />
i need to know how to login directly with out giving username and password everytime ??<br />
<br />
and i dont know where i use requestkey ? pls help !]]></description>
            <dc:creator>talhakosen</dc:creator>
            <category>Code Examples and Libraries</category>
            <pubDate>Fri, 06 Nov 2009 15:44:43 -0700</pubDate>
        </item>
        <item>
            <guid>http://photobucket.com/developer/forum?read,3,615,999#msg-999</guid>
            <title>Re: PHP 5 - Get Album Organization</title>
            <link>http://photobucket.com/developer/forum?read,3,615,999#msg-999</link>
            <description><![CDATA[ Any news on this?<br />
<br />
How does your work around work?<br />
<br />
-Rudolf]]></description>
            <dc:creator>rvavruch</dc:creator>
            <category>Code Examples and Libraries</category>
            <pubDate>Thu, 05 Nov 2009 07:52:50 -0700</pubDate>
        </item>
        <item>
            <guid>http://photobucket.com/developer/forum?read,2,998,998#msg-998</guid>
            <title>Upload photo failed when authenticate with email</title>
            <link>http://photobucket.com/developer/forum?read,2,998,998#msg-998</link>
            <description><![CDATA[ The api now supports login with user name or email. The path is &quot;[<a href="http://api.photobucket.com/login/direct&quot" target="_blank" rel="nofollow" >api.photobucket.com</a>];, as we know. <br />
<br />
When I upload a photo, I can upload the photo successfully when authenticate with user name, but failed with email. <br />
<br />
How to upload a photo when authenticate with email? Can anybody help me on this? Thanks in advance!]]></description>
            <dc:creator>lankyfeng</dc:creator>
            <category>Photobucket API Support</category>
            <pubDate>Wed, 04 Nov 2009 03:18:24 -0700</pubDate>
        </item>
        <item>
            <guid>http://photobucket.com/developer/forum?read,2,997,997#msg-997</guid>
            <title>Is photobucket having problems</title>
            <link>http://photobucket.com/developer/forum?read,2,997,997#msg-997</link>
            <description><![CDATA[ Is anyone having trouble copying their codes in their photobucket? Never had this problem until tonight.]]></description>
            <dc:creator>catscorner990</dc:creator>
            <category>Photobucket API Support</category>
            <pubDate>Tue, 03 Nov 2009 16:31:20 -0700</pubDate>
        </item>
        <item>
            <guid>http://photobucket.com/developer/forum?read,3,990,996#msg-996</guid>
            <title>Re: How-to: Python + Photobucket API</title>
            <link>http://photobucket.com/developer/forum?read,3,990,996#msg-996</link>
            <description><![CDATA[ <span style="font-size:x-large">How to get the login url</span> <br />
<br />
<pre class="bbcode">
from pbapi import PbApi

api = PbApi(PHOTOBUCKET_API_KEY, PHOTOBUCKET_PRIVATE_KEY)
api.reset()
api.login().request().post()
api.load_token_from_response()

login_url = api.login_url</pre>
<br />
At this point you redirect your user to login_url and wait patiently for them to grant or deny your access to their data.<br />
<br />
I think you need to store the oauth data (not sure... maybe a mod can verify) until the end user gets redirected back to your site.<br />
<br />
I'm thinking I'll probably <a href="http://docs.python.org/library/pickle.html" target="_blank" rel="nofollow" >pickle</a> the oauth_token and stick it in the database using the request_token to look it up when the user gets redirected back<br />
<br />
<pre class="bbcode">
import pickle

request_token = api.oauth_token.key
pickled_token = pickle.dumps(api.oauth_token)

#store it however</pre>
<br />
Once they have approved your access to their data, you you can get their username, along with some other stuff you might find useful<br />
<br />
<pre class="bbcode">

# we get the request_token as a GET param - I'm going to assume you can get it
# and retrieve the pickled oauth object

oauth_token = pickle.loads(pickled_token)
api = PbApi(PHOTOBUCKET_API_KEY, PHOTOBUCKET_PRIVATE_KEY)

# unfortunately you can't just assign it :(
api.set_oauth_token( oauth_token.key, oauth_token.secret )

api.login().access().post()

# which populates the api object with some useful stuff...
print api.username</pre>
<br />
The response_string also includes a &quot;homeurl&quot; value, but I havn't figured out where it's used<br />
<br />
Anyway more to come as I figure it out :)]]></description>
            <dc:creator>jiaaro</dc:creator>
            <category>Code Examples and Libraries</category>
            <pubDate>Fri, 30 Oct 2009 13:46:40 -0600</pubDate>
        </item>
        <item>
            <guid>http://photobucket.com/developer/forum?read,2,995,995#msg-995</guid>
            <title>Feature Request: Allow Image Uplaods via FTP from Word 2007 Blog Post</title>
            <link>http://photobucket.com/developer/forum?read,2,995,995#msg-995</link>
            <description><![CDATA[ Hi everyone! I won't waste a ton of space rehashing this issue, but here's the gist: to date, there isn't a good way to utilize the Word 2007 Blog Post feature using the FTP option to upload images. The clsoest host I could find that _almost_ worked with this is Photobucket.  But, from what i can tell, word is also trying to deposit some &quot;housekeeping&quot; files when it uploads images, which get bounced by Photobucket, and then Word (sigh) seems to give up (and possibly even delete the image it just uploaded, but I'm not 100% certain of that yet). I'm not the only one having this problem.  A quick google search for <a href="http://www.google.com/search?q=word+2007+blogger+ftp+~picture|~image" target="_blank" rel="nofollow" >word 2007 blogger ftp ~picture|~image</a> turns up plenty of blog, forum, and help page discussions of this problem) and if photobucket was the first site to support this, something tells me that those Word Blogger out there (yes, we exist :) would flock to photobucket pro service.  For more on this thread, see <a href="http://caflib.blogspot.com/2009/08/publishing-to-blogger-from-word-2007.html" target="_blank" rel="nofollow" >Publishing to Blogger from Word 2007 with pictures – a resounding defeat :(</a>]]></description>
            <dc:creator>robertslater</dc:creator>
            <category>Photobucket API Support</category>
            <pubDate>Fri, 30 Oct 2009 13:34:28 -0600</pubDate>
        </item>
        <item>
            <guid>http://photobucket.com/developer/forum?read,3,988,994#msg-994</guid>
            <title>Re: Python Examples? (starting with a port of the php examples)</title>
            <link>http://photobucket.com/developer/forum?read,3,988,994#msg-994</link>
            <description><![CDATA[ would it be possible to just build the <pre class="bbcode">.get()</pre> or <pre class="bbcode">.post()</pre> right into the call?<br />
<br />
I think it's more useful to have a good default, and accept an argument if you want to override the default<br />
<br />
something like<br />
<br />
<pre class="bbcode">
api.ping()</pre>
<br />
should just do a GET and return the response<br />
<br />
if you wanted to do a POST ping then you can do something like this:<br />
<br />
<pre class="bbcode">
api.ping( request_method=&quot;POST&quot; )</pre>
<br />
Thanks,<br />
Jim]]></description>
            <dc:creator>jiaaro</dc:creator>
            <category>Code Examples and Libraries</category>
            <pubDate>Fri, 30 Oct 2009 12:46:39 -0600</pubDate>
        </item>
        <item>
            <guid>http://photobucket.com/developer/forum?read,3,988,993#msg-993</guid>
            <title>Re: Python Examples? (starting with a port of the php examples)</title>
            <link>http://photobucket.com/developer/forum?read,3,988,993#msg-993</link>
            <description><![CDATA[ Looks like maybe the constructor should .reset().  I'll talk to the dev that worked on this.  Thanks.]]></description>
            <dc:creator>jhart_pb</dc:creator>
            <category>Code Examples and Libraries</category>
            <pubDate>Wed, 28 Oct 2009 16:17:26 -0600</pubDate>
        </item>
        <item>
            <guid>http://photobucket.com/developer/forum?read,3,990,992#msg-992</guid>
            <title>Re: How-to: Python + Photobucket API</title>
            <link>http://photobucket.com/developer/forum?read,3,990,992#msg-992</link>
            <description><![CDATA[ This is awesome.  I'll forward info to the guys working on this library and get your other questions answered.<br />
<br />
Thanks!]]></description>
            <dc:creator>jhart_pb</dc:creator>
            <category>Code Examples and Libraries</category>
            <pubDate>Wed, 28 Oct 2009 16:16:27 -0600</pubDate>
        </item>
        <item>
            <guid>http://photobucket.com/developer/forum?read,3,990,990#msg-990</guid>
            <title>How-to: Python + Photobucket API</title>
            <link>http://photobucket.com/developer/forum?read,3,990,990#msg-990</link>
            <description><![CDATA[ I had quite a bit of trouble getting the python library to work, so...<br />
<br />
Anyone wanting to use the python library - here are instructions:<br />
<br />
<span style="font-size:x-large">Step 1: Download the <a href="http://code.google.com/p/photobucket-api-py/" target="_blank" rel="nofollow" >Photobucket-api lib for python</a></span><br />
<br />
You have to check it out from the google code subversion repo with the following svn command<br />
<br />
<pre class="bbcode">
 svn checkout http:// photobucket-api-py.googlecode.com/svn/trunk/ photobucket-api-py-read-only</pre>
<br />
you have to remove the space between http:// and photobucket-api... The stupid bb-code is breaking my post :(<br />
<br />
Install it by copying the pbapi (the lowercase one with an __init__.py file in it) into your python path<br />
<br />
<span style="font-size:x-large">Step 2: Grab the dependencies</span><br />
<br />
download <a href="http://code.google.com/p/httplib2/" target="_blank" rel="nofollow" >Httplib2</a> and install it, or just copy the httplib2 package into your python path. Same difference.<br />
<br />
<a href="http://httplib2.googlecode.com/files/httplib2-0.5.0.zip" target="_blank" rel="nofollow" >download httplib2 v0.5</a><br />
<br />
<span style="font-size:x-large">Step 3: Get a <a href="http://photobucket.com/developer" target="_blank" rel="nofollow" >photobucket API Key</a></span><br />
<br />
Just put in for a developer key for now. You can apply for the commercial key when you're a little closer to finishing that killer app ;)<br />
<br />
<span style="font-size:x-large">Step 4: Here is a sample program to get you started</span><br />
<br />
<pre class="bbcode">
from pbapi import PbApi

api_key = 'YOUR-API-KEY-HERE'
api_secret = 'YOUR-SECRET-KEY-HERE'

api = PbApi(api_key, api_secret)

print &quot;Try out Ping...&quot;
api.reset()
print api.ping().get().response_string
print

print &quot;Try a search...&quot;
api.reset()
print api.search('foo', {'page': 2, 'perpage': 5}).get().response_string</pre>
<br />
Good Luck!]]></description>
            <dc:creator>jiaaro</dc:creator>
            <category>Code Examples and Libraries</category>
            <pubDate>Wed, 28 Oct 2009 14:06:52 -0600</pubDate>
        </item>
        <item>
            <guid>http://photobucket.com/developer/forum?read,3,988,989#msg-989</guid>
            <title>Re: Python Examples? (starting with a port of the php examples)</title>
            <link>http://photobucket.com/developer/forum?read,3,988,989#msg-989</link>
            <description><![CDATA[ Just discovered that I need to call api.reset() before I attempt... well... really anything at all<br />
<br />
this seems to work<br />
<br />
<pre class="bbcode">
api = PbApi(api_key, api_secret)
api.reset()
response = api.ping().get().response_string
print response</pre>
<br />
response:<br />
<pre class="bbcode">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;response&gt;
	&lt;status&gt;OK&lt;/status&gt;
	&lt;content&gt;
		&lt;pong&gt;(read)&lt;/pong&gt;
		&lt;request&gt;
			&lt;oauth_consumer_key&gt;149828049&lt;/oauth_consumer_key&gt;
			&lt;oauth_nonce&gt;1f376ed45cda314af10c7110932ac86d&lt;/oauth_nonce&gt;
			&lt;oauth_signature&gt;U+fsMczQw2DIFdQ6ynWJtLpJ+YM=&lt;/oauth_signature&gt;
			&lt;oauth_signature_method&gt;HMAC-SHA1&lt;/oauth_signature_method&gt;
			&lt;oauth_timestamp&gt;1256759123&lt;/oauth_timestamp&gt;
			&lt;oauth_version&gt;1.0&lt;/oauth_version&gt;
		&lt;/request&gt;
	&lt;/content&gt;
	&lt;format&gt;xml&lt;/format&gt;
	&lt;method&gt;GET&lt;/method&gt;
	&lt;timestamp&gt;1256759126&lt;/timestamp&gt;
&lt;/response&gt;
&lt;!-- den3api03 @ Wed, 28 Oct 2009 13:45:26 -0600 --&gt;</pre>
<br />
Also got search to work:<br />
<pre class="bbcode">
api.reset()
response = api.search('foo', {'page': 2}).get().response_string
print response</pre>
<br />
response:<br />
<pre class="bbcode">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;response&gt;
	&lt;status&gt;OK&lt;/status&gt;
	&lt;content&gt;
		&lt;result page=&quot;2&quot; perpage=&quot;20&quot; totalpages=&quot;874&quot; totalresults=&quot;17476&quot;&gt;
			&lt;isSponsored /&gt;
			&lt;searchSponsor /&gt;
			&lt;secondarytotalresults&gt;613&lt;/secondarytotalresults&gt;
			&lt;primary&gt;
				&lt;media description_id=&quot;&quot; name=&quot;319520.jpg&quot; public=&quot;1&quot; type=&quot;image&quot; uploaddate=&quot;1256346372&quot; username=&quot;lostlanora87&quot;&gt;
					&lt;browseurl&gt;[<a href="http://s68.photobucket.com/albums/i40/lostlanora87/ShallowShell/?action=view&amp;amp;current=319520.jpg&lt;/browseurl&gt" target="_blank" rel="nofollow" >s68.photobucket.com</a>];
					&lt;url&gt;[<a href="http://i68.photobucket.com/albums/i40/lostlanora87/ShallowShell/319520.jpg&lt;/url&gt" target="_blank" rel="nofollow" >i68.photobucket.com</a>];
					&lt;albumurl&gt;[<a href="http://s68.photobucket.com/albums/i40/lostlanora87/ShallowShell/&lt;/albumurl&gt" target="_blank" rel="nofollow" >s68.photobucket.com</a>];
					&lt;thumb&gt;[<a href="http://th68.photobucket.com/albums/i40/lostlanora87/ShallowShell/th_319520.jpg&lt;/thumb&gt" target="_blank" rel="nofollow" >th68.photobucket.com</a>];
					&lt;description /&gt;
					&lt;title&gt;Foo Fighters&lt;/title&gt;
					&lt;isSponsored /&gt;
				&lt;/media&gt;

...

		&lt;/result&gt;
	&lt;/content&gt;
	&lt;format&gt;xml&lt;/format&gt;
	&lt;method&gt;GET&lt;/method&gt;
	&lt;timestamp&gt;1256759244&lt;/timestamp&gt;
&lt;/response&gt;
&lt;!-- den3api02 @ Wed, 28 Oct 2009 13:47:24 -0600 --&gt;</pre>
<br />
I cut off the response and replaced the rest with ...]]></description>
            <dc:creator>jiaaro</dc:creator>
            <category>Code Examples and Libraries</category>
            <pubDate>Wed, 28 Oct 2009 13:33:29 -0600</pubDate>
        </item>
        <item>
            <guid>http://photobucket.com/developer/forum?read,3,988,988#msg-988</guid>
            <title>Python Examples? (starting with a port of the php examples)</title>
            <link>http://photobucket.com/developer/forum?read,3,988,988#msg-988</link>
            <description><![CDATA[ Hello I am trying to get the python client library working but there seems to be very little (possibly none) documentation on the python library.<br />
<br />
I took a look through the code for the library and it seems to be a port of the php library so I figured I should be able to start out by porting the php library usage samples as well.<br />
<br />
I am running into some problems though so please let me know what I'm doing wrong<br />
<br />
Samples from [<a href="http://photobucket.com/developer/forum?read,3,474,478#msg-478" target="_blank" rel="nofollow" >photobucket.com</a>]<br />
<br />
PHP:<br />
<pre class="bbcode">$api-&gt;search('foo', array('page'=&gt;2))-&gt;get();</pre>
<br />
Python:<br />
<pre class="bbcode">api.search('foo', {'page': 2}).get()</pre>
<br />
unfortunately this code (in python) throws an error. traceback:<br />
<br />
<pre class="bbcode">
In [38]: api.search('foo', {'page':2}).get()
---------------------------------------------------------------------------
PbApiError                                Traceback (most recent call last)

/home/jim/Desktop/photobucket-api-py-read-only/PbApi/&lt;ipython console&gt; in &lt;module&gt;()

/home/jim/Desktop/photobucket-api-py-read-only/PbApi/pbapi/__init__.pyc in get(self)
    134         Forward a GET to the server based upon the current uri &amp; param state
    135         '''
--&gt; 136         self.__validate_request('get')
    137         self.response_string = self.pb_request.get(self.uri, self.params)
    138         if not self.no_reset: self.reset()

/home/jim/Desktop/photobucket-api-py-read-only/PbApi/pbapi/__init__.pyc in __validate_request(self, method)
    266         except KeyError:
    267             raise PbApiError(message=&quot;invalid method %s&quot; % method,
--&gt; 268                              core=self)
    269 
    270         return self

&lt;type 'str'&gt;: (&lt;type 'exceptions.ValueError'&gt;, ValueError('too many values to unpack',))</pre>
<br />
I can't even get ping to do what you'd expect...<br />
<br />
Python:<br />
<pre class="bbcode">api.ping().get()</pre>
<br />
traceback:<br />
<pre class="bbcode">
In [48]: api.ping().get()
---------------------------------------------------------------------------
PbApiError                                Traceback (most recent call last)

/home/jim/Desktop/photobucket-api-py-read-only/PbApi/&lt;ipython console&gt; in &lt;module&gt;()

/home/jim/Desktop/photobucket-api-py-read-only/PbApi/pbapi/__init__.pyc in get(self)
    134         Forward a GET to the server based upon the current uri &amp; param state
    135         '''
--&gt; 136         self.__validate_request('get')
    137         self.response_string = self.pb_request.get(self.uri, self.params)
    138         if not self.no_reset: self.reset()

/home/jim/Desktop/photobucket-api-py-read-only/PbApi/pbapi/__init__.pyc in __validate_request(self, method)
    266         except KeyError:
    267             raise PbApiError(message=&quot;invalid method %s&quot; % method,
--&gt; 268                              core=self)
    269 
    270         return self

PbApiError: (): invalid method get
Method: login:login:login:ping:ping:ping:ping:ping:ping:ping:ping:ping:ping:ping:search:ping:ping:ping:ping</pre>
<br />
That looks like a lot of pings :(]]></description>
            <dc:creator>jiaaro</dc:creator>
            <category>Code Examples and Libraries</category>
            <pubDate>Wed, 28 Oct 2009 13:31:01 -0600</pubDate>
        </item>
        <item>
            <guid>http://photobucket.com/developer/forum?read,2,977,978#msg-978</guid>
            <title>Re: 405 Method not Allowed</title>
            <link>http://photobucket.com/developer/forum?read,2,977,978#msg-978</link>
            <description><![CDATA[ Your login/request must be a POST from your server, not a browser redirect.  Gather the token returned by the login/request, then send the user (as a GET) to photobucket.com/apilogin/login<br />
<br />
(all as stated in the documentation).]]></description>
            <dc:creator>jhart_pb</dc:creator>
            <category>Photobucket API Support</category>
            <pubDate>Tue, 13 Oct 2009 09:00:21 -0600</pubDate>
        </item>
        <item>
            <guid>http://photobucket.com/developer/forum?read,2,977,977#msg-977</guid>
            <title>405 Method not Allowed</title>
            <link>http://photobucket.com/developer/forum?read,2,977,977#msg-977</link>
            <description><![CDATA[ I am trying to make a post request to <blockquote class="bbcode"><div><small>Quote<br/></small><strong></strong><br/>http://api.photobucket.com/login/request</div></blockquote>. My full URL looks like this: <br />
<br />
<blockquote class="bbcode"><div><small>Quote<br/></small><strong></strong><br/>http://api.photobucket.com/login/request?oauth_consumer_key=149829078&amp;oauth_nonce=1520569&amp;oauth_timestamp=1255396944&amp;oauth_signature_method=HMAC-SHA1&amp;oauth_version=1.0&amp;oauth_signature=JqOlIkHu5Dyf0jIaNIYmwvbXGiA%3d</div></blockquote>
<br />
When I try to redirect to this URL I get a 405 Method Not Allowed. Can someone point me in the right direction or give me some ideas of what to try. I have been all over the documentation and can't find anymore things to try. Here is the code I am using to generate the request<br />
<br />
            <blockquote class="bbcode"><div><small>Quote<br/></small><strong></strong><br/>string consumerKey = &quot;149829078&quot;;<br />
            string consumerSecret = &quot;my secret&quot;;<br />
<br />
            string normURI, normParam;<br />
            Uri uri = new Uri(&quot;http:// api. photobucket. com/login/request&quot;);<br />
            OAuth.OAuthBase oAuth = new OAuth.OAuthBase();<br />
            string nonce = oAuth.GenerateNonce();<br />
            string timeStamp = oAuth.GenerateTimeStamp();<br />
            string sig = oAuth.GenerateSignature(uri,<br />
                consumerKey, consumerSecret,<br />
                string.Empty, string.Empty,<br />
                &quot;POST&quot;, timeStamp, nonce,<br />
                OAuthBase.SignatureTypes.HMACSHA1, out normURI, out normParam);<br />
<br />
            sig = HttpUtility.UrlEncode(sig);<br />
<br />
            StringBuilder sb = new StringBuilder(uri.ToString());<br />
            sb.AppendFormat(&quot;?oauth_consumer_key={0}&amp;&quot;, consumerKey);<br />
            sb.AppendFormat(&quot;oauth_nonce={0}&amp;&quot;, nonce);<br />
            sb.AppendFormat(&quot;oauth_timestamp={0}&amp;&quot;, timeStamp);<br />
            sb.AppendFormat(&quot;oauth_signature_method={0}&amp;&quot;, &quot;HMAC-SHA1&quot;);<br />
            sb.AppendFormat(&quot;oauth_version={0}&amp;&quot;, &quot;1.0&quot;);<br />
            sb.AppendFormat(&quot;oauth_signature={0}&quot;, sig);<br />
<br />
            Response.Redirect(sb.ToString());</div></blockquote>]]></description>
            <dc:creator>FreestyleFrames_09</dc:creator>
            <category>Photobucket API Support</category>
            <pubDate>Mon, 12 Oct 2009 19:30:54 -0600</pubDate>
        </item>
        <item>
            <guid>http://photobucket.com/developer/forum?read,2,971,975#msg-975</guid>
            <title>Re: Grabbing a Random Photo from Photobucket Public Photos</title>
            <link>http://photobucket.com/developer/forum?read,2,971,975#msg-975</link>
            <description><![CDATA[ Err, yeah, I meant Photobucket.  Same question also applied to Picasa which is why I screwed that up.]]></description>
            <dc:creator>btaylorumass</dc:creator>
            <category>Photobucket API Support</category>
            <pubDate>Sat, 10 Oct 2009 08:24:00 -0600</pubDate>
        </item>
        <item>
            <guid>http://photobucket.com/developer/forum?read,2,971,973#msg-973</guid>
            <title>Re: Grabbing a Random Photo from Photobucket Public Photos</title>
            <link>http://photobucket.com/developer/forum?read,2,971,973#msg-973</link>
            <description><![CDATA[ Whats all this talk about Picasa?  You've confused the issue.]]></description>
            <dc:creator>jhart_pb</dc:creator>
            <category>Photobucket API Support</category>
            <pubDate>Wed, 07 Oct 2009 09:59:26 -0600</pubDate>
        </item>
        <item>
            <guid>http://photobucket.com/developer/forum?read,2,967,972#msg-972</guid>
            <title>Re: Allow, Deny page error</title>
            <link>http://photobucket.com/developer/forum?read,2,967,972#msg-972</link>
            <description><![CDATA[ (This was posted from my test user heh - jhart_pb)<br />
<br />
It looks like this may be on your end.  <br />
<br />
From Tamperdata:<br />
<br />
GET [<a href="http://photobucket.com/apilogin/login?oauth_token=req_53ebeb65c6edcf1370dfe61300b7207a1758f05f_1254930783" target="_blank" rel="nofollow" >photobucket.com</a>] <br />
<br />
9:53:03.576[238ms][total 238ms] Status: 302[Found]<br />
GET [<a href="http://photobucket.com/apilogin/authorize" target="_blank" rel="nofollow" >photobucket.com</a>] <br />
<br />
9:53:03.817[314ms][total 314ms] Status: 302[Moved Temporarily]<br />
GET [<a href="http://www.myfamilyheritage.net/photobucket.php/access?oauth_token=req_53ebeb65c6edcf1370dfe61300b7207a1758f05f_1254930783&amp;status=ready" target="_blank" rel="nofollow" >www.myfamilyheritage.net</a>] <br />
<br />
9:53:04.134[0ms][total 0ms] Status: pending[]<br />
GET [<a href="http://myfamilyheritage.net/photobucket.php/request" target="_blank" rel="nofollow" >myfamilyheritage.net</a>]]]></description>
            <dc:creator>jhart_test</dc:creator>
            <category>Photobucket API Support</category>
            <pubDate>Wed, 07 Oct 2009 09:56:50 -0600</pubDate>
        </item>
        <item>
            <guid>http://photobucket.com/developer/forum?read,2,971,971#msg-971</guid>
            <title>Grabbing a Random Photo from Photobucket Public Photos</title>
            <link>http://photobucket.com/developer/forum?read,2,971,971#msg-971</link>
            <description><![CDATA[ Is there a way to grab a random photo from the set of public photos on Picasa?  I haven't found anything and the search method does not have an option to support a random query.  I need more than just grabbing something from the set of recent photos; I want to take a random sample from the Picasa set of photos across all users (not just any user in particular).<br />
<br />
Thanks,<br />
<br />
Brian]]></description>
            <dc:creator>btaylorumass</dc:creator>
            <category>Photobucket API Support</category>
            <pubDate>Wed, 07 Oct 2009 07:24:34 -0600</pubDate>
        </item>
    </channel>
</rss>
