Skip to content
This repository was archived by the owner on Dec 22, 2022. It is now read-only.

Commit 90721c7

Browse files
committed
readme styling
1 parent 7aa4b0f commit 90721c7

File tree

1 file changed

+23
-15
lines changed

1 file changed

+23
-15
lines changed

README.md

Lines changed: 23 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,29 +19,32 @@ Jamendo API OAuth 2
1919

2020
apache vhost.conf
2121

22-
<VirtualHost *:80>
22+
```
23+
&lt;VirtualHost *:80&gt;
2324
2425
ServerName www.jamendoapioauth2.dev
2526
DocumentRoot /path/to/examples/JamendoApiOAuth2/public
26-
ErrorLog "logs/jamendoapioauth2-error.log"
27-
CustomLog "logs/jamendoapioauth2-access.log" combined
28-
SetEnv APPLICATION_ENV "development"
27+
ErrorLog &quot;logs/jamendoapioauth2-error.log&quot;
28+
CustomLog &quot;logs/jamendoapioauth2-access.log&quot; combined
29+
SetEnv APPLICATION_ENV &quot;development&quot;
2930
30-
<Directory /path/to/examples/JamendoApiOAuth2/public>
31+
&lt;Directory /path/to/examples/JamendoApiOAuth2/public&gt;
3132
DirectoryIndex index.php
3233
AllowOverride All
3334
Order allow,deny
3435
Allow from all
35-
</Directory>
36+
&lt;/Directory&gt;
3637
37-
</VirtualHost>
38+
&lt;/VirtualHost&gt;
39+
```
3840

3941
3. Update your hosts file:
4042

4143
127.0.0.1 www.jamendoapioauth2.dev
4244

4345
4. Create a Jamendi API account, then create a configuration file and add the values:
4446

47+
```
4548
; application/configs/jamendo_api.ini
4649
4750
; to get a jamendo api account visit: https://devportal.jamendo.com/
@@ -56,6 +59,7 @@ oauthDialogUri = /oauth/authorize
5659
accessTokenUri = /oauth/grant
5760
stateSecret = a_secret_phrase
5861
grantType = authorization_code
62+
```
5963

6064
Facebook Open Graph API OAuth 2
6165
-------------------------------
@@ -66,29 +70,32 @@ Facebook Open Graph API OAuth 2
6670

6771
apache vhost.conf
6872

69-
<VirtualHost *:80>
73+
```
74+
&lt;VirtualHost *:80&gt;
7075
7176
ServerName www.facebookopengraphoauth2.dev
7277
DocumentRoot /path/to/examples/FacebookOpenGraphOAuth2/public
73-
ErrorLog "logs/facebookopengraphoauth2-error.log"
74-
CustomLog "logs/facebookopengraphoauth2-access.log" combined
75-
SetEnv APPLICATION_ENV "development"
78+
ErrorLog &quot;logs/facebookopengraphoauth2-error.log&quot;
79+
CustomLog &quot;logs/facebookopengraphoauth2-access.log&quot; combined
80+
SetEnv APPLICATION_ENV &quot;development&quot;
7681
77-
<Directory /path/to/examples/FacebookOpenGraphOAuth2/public>
82+
&lt;Directory /path/to/examples/FacebookOpenGraphOAuth2/public&gt;
7883
DirectoryIndex index.php
7984
AllowOverride All
8085
Order allow,deny
8186
Allow from all
82-
</Directory>
87+
&lt;/Directory&gt;
8388
84-
</VirtualHost>
89+
&lt;/VirtualHost&gt;
90+
```
8591

8692
3. Update your hosts file:
8793

8894
127.0.0.1 www.facebookopengraphoauth2.dev
8995

9096
4. Create a Facebook API account, then create a configuration file and add the values:
9197

98+
```
9299
; application/configs/facebook_api.ini
93100
94101
; facebook api configuration
@@ -99,4 +106,5 @@ clientSecret = 000000000000000000000000000000
99106
callbackUrl = http://www.facebookopengraphoauth2.dev/facebookcallback
100107
oauthDialogUri = /dialog/oauth
101108
accessTokenUri = /oauth/access_token
102-
stateSecret = a_secret_phrase
109+
stateSecret = a_secret_phrase
110+
```

0 commit comments

Comments
 (0)