<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: PHP curl bot to update Facebook status</title>
	<atom:link href="http://www.barattalo.it/2010/03/01/php-curl-bot-to-update-facebook-status/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.barattalo.it/2010/03/01/php-curl-bot-to-update-facebook-status/</link>
	<description>code snippets, classes and other stuff for developers</description>
	<lastBuildDate>Fri, 18 Nov 2011 12:00:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Saad</title>
		<link>http://www.barattalo.it/2010/03/01/php-curl-bot-to-update-facebook-status/comment-page-1/#comment-25085</link>
		<dc:creator>Saad</dc:creator>
		<pubDate>Tue, 13 Sep 2011 19:37:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.barattalo.it/?p=480#comment-25085</guid>
		<description>Notice: Undefined offset: 1 in C:\xampp\htdocs\fyp\index.php on line 137

Parameters sent: post_form_id=input type=&quot;hidden&quot; name=&quot;post_form_id&quot; value=&quot;c0fe5f36f4e22b18f6df6531a2cfb9f7&quot;&amp;status=Test&amp;update=&amp;charset_test=input+type%3D%22hidden%22+name%3D%22charset_test%22+value%3D%22%E2%82%AC%2C%C2%B4%2C%E2%82%AC%2C%C2%B4%2C%E6%B0%B4%2C%D0%94%2C%D0%84%22&amp;fb_dtsg=input+type%3D%22hidden%22+name%3D%22fb_dtsg%22+value%3D%22AQD9xNjh%22

Notice: Undefined offset: 1 in C:\xampp\htdocs\fyp\index.php on line 144
Array ( [url] =&gt; http://m.facebook.com [content_type] =&gt; text/html; charset=utf-8 [http_code] =&gt; 200 [header_size] =&gt; 313 [request_size] =&gt; 967 [filetime] =&gt; -1 [ssl_verify_result] =&gt; 20 [redirect_count] =&gt; 0 [total_time] =&gt; 8.658 [namelookup_time] =&gt; 0 [connect_time] =&gt; 0 [pretransfer_time] =&gt; 0 [size_upload] =&gt; 340 [size_download] =&gt; 23918 [speed_download] =&gt; 2762 [speed_upload] =&gt; 39 [download_content_length] =&gt; 0 [upload_content_length] =&gt; 340 [starttransfer_time] =&gt; 7.987 [redirect_time] =&gt; 0 [certinfo] =&gt; Array ( ) [redirect_url] =&gt; ) 0-

Your Facebook status seems to have been updated.








this gives me error. what should i do?</description>
		<content:encoded><![CDATA[<p>Notice: Undefined offset: 1 in C:\xampp\htdocs\fyp\index.php on line 137</p>
<p>Parameters sent: post_form_id=input type=&#8221;hidden&#8221; name=&#8221;post_form_id&#8221; value=&#8221;c0fe5f36f4e22b18f6df6531a2cfb9f7&#8243;&amp;status=Test&amp;update=&amp;charset_test=input+type%3D%22hidden%22+name%3D%22charset_test%22+value%3D%22%E2%82%AC%2C%C2%B4%2C%E2%82%AC%2C%C2%B4%2C%E6%B0%B4%2C%D0%94%2C%D0%84%22&amp;fb_dtsg=input+type%3D%22hidden%22+name%3D%22fb_dtsg%22+value%3D%22AQD9xNjh%22</p>
<p>Notice: Undefined offset: 1 in C:\xampp\htdocs\fyp\index.php on line 144<br />
Array ( [url] =&gt; <a href="http://m.facebook.com" rel="nofollow">http://m.facebook.com</a> [content_type] =&gt; text/html; charset=utf-8 [http_code] =&gt; 200 [header_size] =&gt; 313 [request_size] =&gt; 967 [filetime] =&gt; -1 [ssl_verify_result] =&gt; 20 [redirect_count] =&gt; 0 [total_time] =&gt; 8.658 [namelookup_time] =&gt; 0 [connect_time] =&gt; 0 [pretransfer_time] =&gt; 0 [size_upload] =&gt; 340 [size_download] =&gt; 23918 [speed_download] =&gt; 2762 [speed_upload] =&gt; 39 [download_content_length] =&gt; 0 [upload_content_length] =&gt; 340 [starttransfer_time] =&gt; 7.987 [redirect_time] =&gt; 0 [certinfo] =&gt; Array ( ) [redirect_url] =&gt; ) 0-</p>
<p>Your Facebook status seems to have been updated.</p>
<p>this gives me error. what should i do?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: automobile.it</title>
		<link>http://www.barattalo.it/2010/03/01/php-curl-bot-to-update-facebook-status/comment-page-1/#comment-11242</link>
		<dc:creator>automobile.it</dc:creator>
		<pubDate>Thu, 21 Apr 2011 16:05:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.barattalo.it/?p=480#comment-11242</guid>
		<description>Very good tip! Thanks!</description>
		<content:encoded><![CDATA[<p>Very good tip! Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Melissa</title>
		<link>http://www.barattalo.it/2010/03/01/php-curl-bot-to-update-facebook-status/comment-page-1/#comment-10135</link>
		<dc:creator>Melissa</dc:creator>
		<pubDate>Thu, 07 Apr 2011 23:05:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.barattalo.it/?p=480#comment-10135</guid>
		<description>This is not working or me. When i open minibots.class.php i get tons of errors.
Please help, am i missing something?
(its uploaded to my server and all that...not an idiot)</description>
		<content:encoded><![CDATA[<p>This is not working or me. When i open minibots.class.php i get tons of errors.<br />
Please help, am i missing something?<br />
(its uploaded to my server and all that&#8230;not an idiot)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: roberto</title>
		<link>http://www.barattalo.it/2010/03/01/php-curl-bot-to-update-facebook-status/comment-page-1/#comment-8689</link>
		<dc:creator>roberto</dc:creator>
		<pubDate>Wed, 23 Mar 2011 16:01:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.barattalo.it/?p=480#comment-8689</guid>
		<description>hi... i use facebook from italy and this code don&#039;t work :( tell me this error:

Notice: Undefined offset: 1 in C:\Programmi\EasyPHP-5.3.3.1\www\face\Senzatitolo-3.php  on line 43

Notice: Undefined offset: 1 in C:\Programmi\EasyPHP-5.3.3.1\www\face\Senzatitolo-3.php on line 50

the problem is here:

$form_id[1]

why????????????


please help me!</description>
		<content:encoded><![CDATA[<p>hi&#8230; i use facebook from italy and this code don&#8217;t work :( tell me this error:</p>
<p>Notice: Undefined offset: 1 in C:\Programmi\EasyPHP-5.3.3.1\www\face\Senzatitolo-3.php  on line 43</p>
<p>Notice: Undefined offset: 1 in C:\Programmi\EasyPHP-5.3.3.1\www\face\Senzatitolo-3.php on line 50</p>
<p>the problem is here:</p>
<p>$form_id[1]</p>
<p>why????????????</p>
<p>please help me!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chopkowy</title>
		<link>http://www.barattalo.it/2010/03/01/php-curl-bot-to-update-facebook-status/comment-page-1/#comment-4977</link>
		<dc:creator>chopkowy</dc:creator>
		<pubDate>Thu, 06 Jan 2011 23:28:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.barattalo.it/?p=480#comment-4977</guid>
		<description>Hi everyone,

I have been struggling the problem of an Undefined offset : 1..
I have gone through the source code of the m.facebook.com page and find out that the search patter in preg_match function for the &#039;update&#039; button should be changed

FROM
    preg_match(&quot;/input type=\&quot;submit\&quot; class=\&quot;button\&quot; name=\&quot;update\&quot; value=\&quot;(.*?)\&quot;/&quot;, $page, $update); // line 33
TO
    preg_match(&quot;/input type=\&quot;submit\&quot; value=\&quot;(.*?)\&quot; class=\&quot;btn btnC\&quot; name=\&quot;update\&quot;/&quot;, $page, $update);

Another thing, as I came across two offset issues, is the post_form_id case around line 41, it also should be changed

FROM
    if(stristr($form_ar[0][$i],&quot;post_form_id&quot;)) preg_match(&quot;/form action=\&quot;(.*?)\&quot;/&quot;, $page, $form_num);  
TO
    if(stristr($form_ar[0][$i],&quot;composer_form&quot;))preg_match(&quot;/action=\&quot;(.*?)\&quot;/&quot;, $page, $form_num);

At least it worked for me and I hope it will help others as well.

Kind regards :)</description>
		<content:encoded><![CDATA[<p>Hi everyone,</p>
<p>I have been struggling the problem of an Undefined offset : 1..<br />
I have gone through the source code of the m.facebook.com page and find out that the search patter in preg_match function for the &#8216;update&#8217; button should be changed</p>
<p>FROM<br />
    preg_match(&#8220;/input type=\&#8221;submit\&#8221; class=\&#8221;button\&#8221; name=\&#8221;update\&#8221; value=\&#8221;(.*?)\&#8221;/&#8221;, $page, $update); // line 33<br />
TO<br />
    preg_match(&#8220;/input type=\&#8221;submit\&#8221; value=\&#8221;(.*?)\&#8221; class=\&#8221;btn btnC\&#8221; name=\&#8221;update\&#8221;/&#8221;, $page, $update);</p>
<p>Another thing, as I came across two offset issues, is the post_form_id case around line 41, it also should be changed</p>
<p>FROM<br />
    if(stristr($form_ar[0][$i],&#8221;post_form_id&#8221;)) preg_match(&#8220;/form action=\&#8221;(.*?)\&#8221;/&#8221;, $page, $form_num);<br />
TO<br />
    if(stristr($form_ar[0][$i],&#8221;composer_form&#8221;))preg_match(&#8220;/action=\&#8221;(.*?)\&#8221;/&#8221;, $page, $form_num);</p>
<p>At least it worked for me and I hope it will help others as well.</p>
<p>Kind regards :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: curl</title>
		<link>http://www.barattalo.it/2010/03/01/php-curl-bot-to-update-facebook-status/comment-page-1/#comment-4265</link>
		<dc:creator>curl</dc:creator>
		<pubDate>Sat, 27 Nov 2010 14:12:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.barattalo.it/?p=480#comment-4265</guid>
		<description>The example on &lt;a href=&quot;http://360percents.com/posts/php-curl-status-update-working-example-sep-2010/&quot; rel=&quot;nofollow&quot;&gt;http://360percents.com/posts/php-curl-status-update-working-example-sep-2010/&lt;/a&gt; still works... There is also an example of how to update Facebook Page.

Best regards</description>
		<content:encoded><![CDATA[<p>The example on <a href="http://360percents.com/posts/php-curl-status-update-working-example-sep-2010/" rel="nofollow">http://360percents.com/posts/php-curl-status-update-working-example-sep-2010/</a> still works&#8230; There is also an example of how to update Facebook Page.</p>
<p>Best regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TI</title>
		<link>http://www.barattalo.it/2010/03/01/php-curl-bot-to-update-facebook-status/comment-page-1/#comment-4067</link>
		<dc:creator>TI</dc:creator>
		<pubDate>Tue, 16 Nov 2010 17:32:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.barattalo.it/?p=480#comment-4067</guid>
		<description>This is not working for me. NO error but status still not updated.

I changed the http://www.barattalo.it/mini-bots-php-class/ 591 lines of: 
preg_match (&#039;/ action =&#039;(.*?)&#039;/&#039;, $ form_ar [1] [3], $ form_num); 
I do not fetch the URL correctly but it did not help. 

Please someone help.</description>
		<content:encoded><![CDATA[<p>This is not working for me. NO error but status still not updated.</p>
<p>I changed the <a href="http://www.barattalo.it/mini-bots-php-class/" rel="nofollow">http://www.barattalo.it/mini-bots-php-class/</a> 591 lines of:<br />
preg_match (&#8216;/ action =&#8217;(.*?)&#8217;/', $ form_ar [1] [3], $ form_num);<br />
I do not fetch the URL correctly but it did not help. </p>
<p>Please someone help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Taofiq Ben</title>
		<link>http://www.barattalo.it/2010/03/01/php-curl-bot-to-update-facebook-status/comment-page-1/#comment-3492</link>
		<dc:creator>Taofiq Ben</dc:creator>
		<pubDate>Fri, 15 Oct 2010 10:21:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.barattalo.it/?p=480#comment-3492</guid>
		<description>Good Job
Can anyone give me a working Code Please</description>
		<content:encoded><![CDATA[<p>Good Job<br />
Can anyone give me a working Code Please</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Giulio Pons</title>
		<link>http://www.barattalo.it/2010/03/01/php-curl-bot-to-update-facebook-status/comment-page-1/#comment-3036</link>
		<dc:creator>Giulio Pons</dc:creator>
		<pubDate>Tue, 28 Sep 2010 19:22:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.barattalo.it/?p=480#comment-3036</guid>
		<description>Mmm when I told you to add the link, probably, I&#039;ve answered to the wrong comment. Sorry.</description>
		<content:encoded><![CDATA[<p>Mmm when I told you to add the link, probably, I&#8217;ve answered to the wrong comment. Sorry.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Giulio Pons</title>
		<link>http://www.barattalo.it/2010/03/01/php-curl-bot-to-update-facebook-status/comment-page-1/#comment-3035</link>
		<dc:creator>Giulio Pons</dc:creator>
		<pubDate>Tue, 28 Sep 2010 19:20:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.barattalo.it/?p=480#comment-3035</guid>
		<description>I think (but I&#039;m not suer) that facebook log you out if you use different ips for the same account in a small period, but this script was made to update facebook status from a php program... and so should not be used together with your account opened in the browser. Yes I think this method is not completely allowed by Facebook... but this is just a tutorial.</description>
		<content:encoded><![CDATA[<p>I think (but I&#8217;m not suer) that facebook log you out if you use different ips for the same account in a small period, but this script was made to update facebook status from a php program&#8230; and so should not be used together with your account opened in the browser. Yes I think this method is not completely allowed by Facebook&#8230; but this is just a tutorial.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

