in my facebook account where i find these application id , secret key all
A:
it should be under Account -> Application Settings, click on your app's profile, then go to Edit Application
Puaka
2010-07-08 12:47:08
in the above steps and not find any edit applicaiton option,,,
Bharanikumar
2010-07-08 13:16:39
huh ? it was there for my created apps. for every apps listed in application settings, the should be 2 links, Edit Settings and Profile, the Edit Application is after you clicked on Profile link, unless you do not have the rights to edit the app
Puaka
2010-07-08 13:29:18
gOT ERROR Fatal error: Uncaught CurlException: 60: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed thrown in E:\wamp\www\facebook-php-sdk-71d9a52\src\facebook.php on line 511
Bharanikumar
2010-07-08 13:35:27
i see.. you're using the API right ? you need to add these CURL options in facebook.phpCURLOPT_SSL_VERIFYPEER => falseits under public static $CURL_OPTS... find it
Puaka
2010-07-08 13:50:36
i added the that snippet ' public static $CURL_OPTS = array( CURLOPT_CONNECTTIMEOUT => 10, CURLOPT_RETURNTRANSFER => true, CURLOPT_SSL_VERIFYPEER => false, CURLOPT_TIMEOUT => 60, CURLOPT_USERAGENT => 'facebook-php-2.0', );'but still i has errorFatal error: Uncaught CurlException: 60: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed thrown in E:\wamp\www\facebook-php-sdk-71d9a52\src\facebook.php on line 511
Bharanikumar
2010-07-08 13:53:48
not sure which version you are using, but i have 2 versions, 2.0.4 and 2.0.5 both, no need to add the options, its already there, you just need to add 1 extra line. so here is mine :public static $CURL_OPTS = array( CURLOPT_CONNECTTIMEOUT => 10, CURLOPT_RETURNTRANSFER => true, CURLOPT_TIMEOUT => 60, CURLOPT_USERAGENT => 'facebook-php-2.0', CURLOPT_SSL_VERIFYPEER => false, CURLOPT_SSL_VERIFYHOST => 2, );
Puaka
2010-07-08 14:11:21
please give me the source code url
Bharanikumar
2010-07-08 15:42:31
@Puaka setting `CURLOPT_SSL_VERIFYPEER` to `false` is more of a bandaid than an actual solution. What you really need to do is tell curl where your crt file is located. `Facebook::$CURL_OPTS[CURLOPT_CAINFO] = '/path/to/ca-bundle.crt'`
Peter Bailey
2010-07-08 17:34:38
+2
A:
You use the Developer App
On the right is a section listed "My Applications" from which you can select an application to see its information.
You an also go straight here as well, which lists your apps on the left.
Peter Bailey
2010-07-08 17:32:06
A:
Peter's post is pretty much spot on, but if you want to learn how to navigate to it yourself here are the instructions:
On the left hand menu, you need to click "more", then you'll see "Developer", click on it. Afterwards you'll be presented with a page where your apps are listed under "My Applications" click on "See my applications". You can find all your API Key, secrets, and IDs there.
Jackson Leung
2010-07-08 19:37:15