tags:

views:

70

answers:

3

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
in the above steps and not find any edit applicaiton option,,,
Bharanikumar
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
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
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
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
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
please give me the source code url
Bharanikumar
@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
+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
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

related questions