<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Thomas Hambach - Web engineer &#187; facebook</title>
	<atom:link href="http://www.rdlt.com/category/facebook/feed" rel="self" type="application/rss+xml" />
	<link>http://www.rdlt.com</link>
	<description>Web development, Web design &#38; Usability</description>
	<lastBuildDate>Mon, 06 Dec 2010 09:45:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Facebook Error Message: Requires valid next URL.</title>
		<link>http://www.rdlt.com/facebook-error-message-requires-valid-next-url.html</link>
		<comments>http://www.rdlt.com/facebook-error-message-requires-valid-next-url.html#comments</comments>
		<pubDate>Wed, 16 Jun 2010 09:10:48 +0000</pubDate>
		<dc:creator>Thomas Hambach</dc:creator>
				<category><![CDATA[facebook]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[snippets]]></category>
		<category><![CDATA[api error]]></category>
		<category><![CDATA[invalid parameter]]></category>

		<guid isPermaLink="false">http://www.rdlt.com/?p=285</guid>
		<description><![CDATA[Let me start with asking you a few questions! Are you having issues with the Facebook API? Are you constantly getting the error message &#8220;API Error Code: 100 API Error Description: Invalid parameter Error Message: Requires valid next URL.&#8220;? Are you using the latest official Facebook PHP class? Are you redirecting using the PHP header() [...]]]></description>
			<content:encoded><![CDATA[<p>Let me start with asking you a few questions!</p>
<ol>
<li>Are you having issues with the Facebook API?</li>
<li>Are you constantly getting the error message &#8220;<em>API Error Code: 100 API Error Description: Invalid parameter Error Message: Requires valid next URL.</em>&#8220;?</li>
<li>Are you using the latest official Facebook PHP class?</li>
<li>Are you redirecting using the PHP <em>header()</em> function?</li>
</ol>
<p><a rel="lightbox" href="http://www.rdlt.com/wp-content/uploads/2010/06/facebookerror.png"><img class="alignnone size-medium wp-image-286" title="Facebook error" src="http://www.rdlt.com/wp-content/uploads/2010/06/facebookerror-300x119.png" alt="Facebook error" width="300" height="119" /></a></p>
<p>Well,  I might have a solution for you. When calling the function <em>getLoginUrl</em> in the Facebook PHP class, the function will return a HTML encoded string. When outputing this string to your browser, it is rendered/decoded by a browser and this will convert all &#8220;safe&#8221; charachters to their textual equivalent.  This makes that <em>&#8220;&amp;amp;&#8221;</em> becomes &#8220;<em>&amp;</em>&#8221; and <em>&#8220;%20&#8243;</em> becomes &#8221; &#8220;.</p>
<p>However, when using the <em>header()</em> function in PHP, this url will not be rendered/decoded and you are basically sending out a garbled request.</p>
<p><strong>Original</strong></p>
<pre><code class="php">getLoginUrl($params);
header('Location:' . $url);
</code></pre>
<p><strong>Solution:</strong></p>
<pre><code class="php">getLoginUrl($params);
$url = str_replace('&amp;','&amp;',urldecode($url));
header('Location:' . $url);
</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.rdlt.com/facebook-error-message-requires-valid-next-url.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Fun With Fake Facebook Accounts</title>
		<link>http://www.rdlt.com/fun-with-fake-facebook-accounts.html</link>
		<comments>http://www.rdlt.com/fun-with-fake-facebook-accounts.html#comments</comments>
		<pubDate>Fri, 02 Oct 2009 21:26:04 +0000</pubDate>
		<dc:creator>Thomas Hambach</dc:creator>
				<category><![CDATA[facebook]]></category>
		<category><![CDATA[random]]></category>
		<category><![CDATA[scamming]]></category>

		<guid isPermaLink="false">http://www.rdlt.com/?p=224</guid>
		<description><![CDATA[Here&#8217;s the chat log of my fake facebook account with another fake facebook account&#8230; read carefully Anna is the scammer, Jessie is me&#8230; Of course I changed the names! Anna hun hi 10:59pm Jessie mmmmm 11:14pm Jessie hihi&#8230; 10:59pm Anna how are you 10:59pm Jessie how&#8217;s my little porn star 10:59pm Anna aaaaaaaaaaaaaah do you [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s the chat log of my fake facebook account with another fake facebook account&#8230; read carefully <img src='http://www.rdlt.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  Anna is the scammer, Jessie is me&#8230; Of course I changed the names!</p>
<p><img class="alignnone size-medium wp-image-226" title="anna" src="http://www.rdlt.com/wp-content/uploads/2009/10/anna-225x300.jpg" alt="anna" width="225" height="300" /></p>
<p><strong>Anna</strong><br />
hun<br />
hi</p>
<p><strong>10:59pm Jessie</strong><br />
mmmmm</p>
<p><strong>11:14pm Jessie</strong><br />
hihi&#8230;</p>
<p><strong>10:59pm Anna</strong><br />
how are you</p>
<p><strong>10:59pm Jessie</strong><br />
how&#8217;s my little porn star</p>
<p><strong>10:59pm Anna</strong><br />
aaaaaaaaaaaaaah<br />
do you like me</p>
<p><span id="more-224"></span><strong>11:00pm Jessie</strong><br />
come on, at least put an effort in your fake pictures<br />
chloe18.com<br />
how many of these profiles do you own anyway?</p>
<p><strong>11:01pm Anna</strong><br />
how many do you have ???</p>
<p><strong>11:01pm Jessie</strong><br />
ehm&#8230; you don&#8217;t answer a question with a question, bimbo</p>
<p><strong>11:02pm Anna</strong><br />
fuck you</p>
<p><strong>11:02pm Jessie</strong><br />
are you like one of those african scammers? or a polish one?<br />
just out of curiousity<br />
cause otherwise i don&#8217;t see the reasoning<br />
you&#8217;re not trying to spam<br />
so there must be some reason</p>
<p><strong>11:02pm Anna</strong><br />
Im not from Africa</p>
<p><strong>11:02pm Jessie</strong><br />
or you&#8217;re ugly&#8230; so&#8230; where are you from, bimbo</p>
<p><strong>11:03pm Anna</strong><br />
Lebanon</p>
<p><strong>11:03pm Jessie</strong><br />
ah&#8230; what&#8217;s the reason for the fake profile?<br />
spam? money? fun? you&#8217;re ugly? <img src='http://www.rdlt.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> :P</p>
<p><strong>11:05pm Anna</strong><br />
My real name is <em>Mumet El Baroudi</em> . add me as freind . &amp; you well se my picture .</p>
<p><strong>11:06pm Jessie</strong><br />
you&#8217;re from <em>farawayistan</em>&#8230;</p>
<p><strong>11:06pm Anna</strong><br />
yes<br />
how do you know</p>
<p><strong>11:06pm Jessie</strong><br />
i read your profile&#8230; hah<br />
anyway&#8230; doesn&#8217;t matter&#8230; how come you&#8217;re faking profiles?</p>
<p><strong>11:07pm Anna</strong><br />
to get a chips . from Poker<br />
you are so cute and butiful Jessie</p>
<p><strong>11:07pm Jessie</strong><br />
hehe&#8230;</p>
<p><strong>11:08pm Anna</strong><br />
realy you are</p>
<p><strong>11:09pm Anna</strong><br />
i just ask an agly men to gave you chips . then they give you a millions . coze Im soo sexy . you know</p>
<p><strong>11:10pm Jessie</strong><br />
haha, yea&#8230; they&#8217;re prtty dumb&#8230; but at least find a different picture&#8230; this one is too obvious</p>
<p><strong>11:10pm Anna</strong><br />
hehe ok hun</p>
<p><strong>11:11pm Jessie</strong><br />
you can use those poker chips for changing into cash? or just online?</p>
<p><strong>11:12pm Anna</strong><br />
just on line to play</p>
<p><strong>11:12pm Jessie</strong><br />
ahhh&#8230;</p>
<p><strong>11:13pm Anna</strong><br />
i add you as freind on my real profile . plz confeirm me . ok</p>
<p><strong>11:13pm Jessie</strong><br />
okee</p>
<p><strong>11:13pm Anna</strong><br />
see ya there</p>
<p><strong>11:14pm Anna</strong><br />
you have a very nice face</p>
<p><strong>11:14pm Jessie</strong><br />
hihi&#8230; thanks <img src='http://www.rdlt.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>11:14pm Anna</strong><br />
i lve your stile</p>
<p>Making a long story short, even the scammer is an idiot!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rdlt.com/fun-with-fake-facebook-accounts.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

