Parse error: syntax error, unexpected '

' in......
dit bericht krijg ik ik heb deze al een x weg gehaald maar dan komt de volgende:
Parse error: syntax error, unexpected '}' in ...
deze heb ik ook weg gehaald maar dan is alles wit XD
werkt het hele script niet.
het is een script dat is samenwerking is met facebook genaamd: thiefmaster
dit probleem wil ik graag verhelpen en als het lukt zal ik het script hier ook uploaden!
alvast bedankt!
het probleem gevende script:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
<?php
require_once 'facebook.php';
//========================================================
// Application Title and Id
//========================================================
$appTitle = '******';
$appId = '******';
//========================================================
// Application API Key and Secret
//========================================================
$appApiKey = '*******';
$appSecret = '*******';
//========================================================
// Application Callback URL and Canvas URL
//========================================================
$appCallbackUrl = '********';
$appCanvasUrl = '******';
//========================================================
// DO NOT MODIFY BELOW THIS
//========================================================
//facebook user id
$user = null;
$fbme = null;
// Create our Application instance.
$facebook = new Facebook(array(
));
)
);
$fbme = null;
$user = null;
if( !$session ) {
echo '<fb:redirect url="'.$loginUrl.'" />';
exit;
}
else {
try {
$user = $facebook->getUser();
$fbme = $facebook->api('/me');
} catch (FacebookApiException $e) {
echo '<fb:redirect url="'.$loginUrl.'" />';
exit;
}
}
//================================
// Stream Publish Function
//================================
function publishMyStream($message, $title, $caption, $link, $desc, $picture ) {
global $facebook;
global $appCanvasUrl;
global $appId;
global $appTitle;
}
}
?>
|
|
|
Laatst gewijzigd door blastboy op 2011-01-20 16:33:15
20-01-2011 16:31
Dit topic is 531 keer bekeken door 79 verschillende leden
Reacties op: "probleempje met ')'"
1 |
2
Reageer op: "probleempje met ')'"
1 |
2