Archive for the ‘Social Networking’ Category

After Google Plus (G+) Video’s… Now Facebook all set to Launch In-Browser Video Chat in Partnership With Skype

the battle begins. 🙂

Have you been invited to Google+? Well, I’ve already been invited and I think it’s awesome but Facebook gonna do something about this. Facebook CEO Mark Zuckerberg has today announced that Facebook is about to launch something awesome next week, Reuter reports.

Chief Executive and founder Mark Zuckerberg told reporters in a visit to Facebook’s Seattle office on Wednesday that the company planned to “launch something awesome” next week.

He said the project had been developed at the 40-person Seattle office, Facebook’s only major engineering center outside of its Palo Alto, California headquarters.

Reuters suggests that it may be the much-much-waited Facebook app for iPad. It could be also the photo-sharing app, something like Instagram or PicPlz. Reuters asked Facebook to comment but they prefered to keep this things private. May be a dislike button?

Thoughts?

Are you surprised? Yes that’s right we have got some news that the most-famous hacker Geohot behind LimeRa1n jailbreak tool which still used till our day to jailbreak iOS devices. Anyway he dissapeard for some time but today we found that George Hotz (aka Geohot) is actually working for Facebook since May, but why do you think Geohot is working for Facebook? Check Geohot Facebook profile below:


The come-back of Geohot to Facebook amazed all the Dev-Team members and especially P0sixninja who made a video talking about the come-back of Geohot again. Surprisingly, you can’t add Geohot on Facebook as there’s no “Add as a Friend” button. Interesting, isn’t it?

Now give us your thoughts about what kind of work is he doing for Facebook?

With all the fancy cURL-based API’s out there these days (Facebook and Twitter immediately come to mind), using cURL to directly access and manipulate data is becoming quite common. However like all programming, there’s always the chance for an error to occur, and thus these calls must be immediately followed by error checks to ensure everything went as planned.

Most decent API’s will return their own custom errors when an internal problem occurs, but that does not account for issues dealing directly with the connection. So before your application goes looking for API-based errors, they should first check the returned HTTP status code to ensure the connection itself went well.

For example, Twitter-specific error messages are always paired with a “400 Bad Request” status. The message is of course helpful, but it’s far easier (as you’ll see) to find the status code from the response headers and then code for the exceptions as necessary, using the error text for logging and future debugging.

Anyway, the HTTP status code, also called the “response code,” is a number that corresponds with the result of an HTTP request. Your browser gets these codes every time you access a webpage, and cURL calls are no different. The following codes are the most common (excerpted from the Wikipedia entry on the subject)…

  • 200 OK
    Standard response for successful HTTP requests. The actual response will depend on the request method used. In a GET request, the response will contain an entity corresponding to the requested resource. In a POST request the response will contain an entity describing or containing the result of the action.
  • 301 Moved Permanently
    This and all future requests should be directed to the given URI.
  • 400 Bad Request
    The request contains bad syntax or cannot be fulfilled.
  • 401 Unauthorized
    Similar to 403 Forbidden, but specifically for use when authentication is possible but has failed or not yet been provided. The response must include a WWW-Authenticate header field containing a challenge applicable to the requested resource.
  • 403 Forbidden
    The request was a legal request, but the server is refusing to respond to it. Unlike a 401 Unauthorized response, authenticating will make no difference.
  • 404 Not Found
    The requested resource could not be found but may be available again in the future. Subsequent requests by the client are permissible.
  • 500 Internal Server Error
    A generic error message, given when no more specific message is suitable.

So now that we know what we’re looking for, how do we go about actually getting them? Fortunately, PHP’s cURL support makes performing these checks pretty easy, they just don’t make the process plain. We need a function called curl_getinfo(). It returns an array full of useful information, but we only need to know the status number. Fortunately, we can set the arguments so that we only get this number back, like so…

// must set $url first. Duh...
$http = curl_init($url);
// do your curl thing here
$result = curl_exec($http);
$http_status = curl_getinfo($http, CURLINFO_HTTP_CODE);
echo $http_status;

curl_getinfo() returns data for the last curl request, so you must execute the cURL call first, then call curl_getinfo(). The key is the second argument; the predefined constant CURLINFO_HTTP_CODE tells the function to forego all the extra data, and just return the HTTP code as a string.

Echoing out the variable $http_status gets us the status code number, typically one of those outlined above.

Facebook is launching one-time passwords in an effort to make it safer to log on to the social network from public computers.

Users can text to get a temporary password

It also claims the system will help prevent cyber-criminals accessing users’ accounts.

Users need to text the words ‘otp’ to 32665 and they will be sent a temporary password that will expire after 20 minutes.

But security experts questioned whether the system was safe.

Sign out

(more…)

Facebook Cookbook

Posted: May 31, 2010 in E-Books, Facebook
Tags: ,

********************************************************************
INFO
********************************************************************
Title…………….: Facebook Cookbook
Type……………..: Ebook
Reader……………: PDF Reader
Size……………..: 8.62 MB

(more…)

Facebook announced a revamp of its user privacy controls, responding to widespread public criticism following its f8 conference product launches with systematic changes that it said came out of weeks of nights-and-weekend work by its top engineers and designers. Facebook CEO Mark Zuckerberg called the release a “modern privacy system” that reflects what the site has become and incorporates feedback from users.

(more…)

Social network Facebook has said it will offer a one-stop shop for privacy settings in response to user concerns.

Facebook founder Mark Zuckerberg admitted the settings had “gotten complex” for users.

It follows a storm of protest from users over a series of changes on the site that left its members unsure about how public their information had become. (more…)