Friday, September 30, 2011

Facebook application development Fatal error: Uncaught CurlException: 28: connect() timed out! thrown in

PHP SDK 3.1
 
it means : your web hosting is not able to connect to Facebook quickly.
Solution is Simple.
you have 2 choices :
1) change your hosting plan or change your web hosting
-OR-
2) go to base_Facebook.php file
line # 128 : with those lines
 public static $CURL_OPTS = array(
    CURLOPT_CONNECTTIMEOUT => 10,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_TIMEOUT        => 60,
    CURLOPT_USERAGENT      => 'facebook-php-3.1',
  );
Change the (CURLOPT_CONNECTTIMEOUT => 10,) into (CURLOPT_CONNECTTIMEOUT => 30,) .... save the base_facebook.php .
That is it ....
Google me (evry1falls)

Wednesday, September 28, 2011

Facebook application developers SDK 3.X Intro

Scratch
What is SDK ?
SDK is -> Software Development Kit.
What is FaceBook SDK ?
FaceBook SDK is -> The Language that enables you to make software in facebook.com
Where to download the latest Facebook SDK ?
From Here :
Link (you need to signup to " https://github.com/ " then download) this is PHP SDK 3.1.1

How to start ?You can start learning the SDK without any base previous studying for any other language, But you need to be fmiliar with other Languages such as (PHP, Java Scripts).
So, if you're just starting Programming, i suggest that you gain some skills in (PHP) i recommend
this site first, it will give you a good lessons about PHP . Also you will need a web hosting with PHP5/MYSQL "as we will build these lessons on PHP" that enables Curl, i recommend this site .
- if you already know these things, then thanx for reading anyway
- if you don't know, then i suggest you start getting closer coz i started from not knowing anything and im already in six months writing lessons and making my facebook applications ( facebook api).

- Table Of Contents :
1) Main.php
2) Index.php
3) Config.php
2) List Of All the user friends' ID
3) List Of All the user friends' Names
4) List Of All the user friends' Photos
5) Post To Wall
6) Invite Friends
We will post the 6 scripts separately and explain some of the codes ..... Enjoy the ride .
let me remind you that you have to :
- worked with Php b4
- have a hosting plane (web host)
- know some facebook api knowledge .

It's done now ... and not so much ...
View On Facebook

Don't forget to google me (evry1falls) to get help anytime you like :

Other Topics :
1) Visual Basic 0.6
2) Visual Basic 2005
3) Visual C# 2005
4) Most Interesting News

Facebook application developer

بسم الله الرحمن الرحيم

In the name of ALLAH 


Keywords for my Web-blog :

Facebook developers, Facebook tricks, Facebook application development, Facebook developers application, Facebook application developers, Facebook application developer, Facebook app development, Facebook developer app, Facebook app developers, Facebook app developer, apps development, mobile app development, app development, app developers, app developer, app development software, 

 

More Facebook developers blogs :