Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

improving markdown for OAuth2 README

  • Loading branch information...
commit 37df71f0a8ee8128a0e9df5f467ff57faf77e633 1 parent bc5a499
ryan jarvinen authored November 18, 2011

Showing 1 changed file with 4 additions and 4 deletions. Show diff stats Hide diff stats

  1. 8  OAUTH2-README.md
8  OAUTH2-README.md
Source Rendered
@@ -83,19 +83,19 @@ Or, use your own $delete_access_token callback when appropriate:
83 83
 Add your authentication tokens and logout url to make this example work:
84 84
 
85 85
     $strings = Eventbrite::loginWidget(array('app_key'=>'YOUR_API_KEY', 
86  
-                                       'client_secret'=>'YOUR_CLIENT_SECRET',
87  
-                                         'logout_link'=>'YOUR_LOGOUT_URL' ),
  86
+                                             'client_secret'=>'YOUR_CLIENT_SECRET',
  87
+                                             'logout_link'=>'YOUR_LOGOUT_URL' ),
88 88
                                        $get_access_token,
89 89
                                        $save_access_token,
90 90
                                        $delete_access_token,
91  
-                                       "disabled"); // leave this HTML
  91
+                                       "disabled"); // leave this parameter out for an HTML response.
92 92
 
93 93
 ### 6. Render your template or view: ###
94 94
 If you would like to use the HTML template from our example, you can remove the "disabled" flag from the loginWidget call, or pass the resulting strings to our `Eventbrite::widgetHTML()` function, like this:
95 95
 
96 96
     $widget_html = Eventbrite::widgetHTML($strings);
97 97
 
98  
-You can also supply your own templating callback function to loginWidget, or simply pass the returned strings directly into your own templating system.
  98
+You can also supply your own templating callback function to `Eventbrite::loginWidget`, or simply pass the returned strings directly into your own templating system.
99 99
 
100 100
 For more detail on our available OAuth2.0 integration functions - see the docs below, or [reach out to the Eventbrite team with questions](http://developer.eventbrite.com/contact-us/)
101 101
 

0 notes on commit 37df71f

Please sign in to comment.
Something went wrong with that request. Please try again.