Skip to content
Browse files

Update Readme.md

  • Loading branch information...
1 parent 1567cde commit c2a664584c585cf08b68f68ea8fc997b05436b2a @fahadsuhaib committed
Showing with 12 additions and 10 deletions.
  1. +12 −10 Readme.md
View
22 Readme.md
@@ -12,8 +12,10 @@
**original**
-`<Import Project="$(MSBuildExtensionsPath32)\FSharp\1.0\Microsoft.FSharp.Targets" Condition="!Exists('$(MSBuildBinPath)\Microsoft.Build.Tasks.v4.0.dll')" />
- <Import Project="$(MSBuildExtensionsPath32)\..\Microsoft F#\v4.0\Microsoft.FSharp.Targets" Condition=" Exists('$(MSBuildBinPath)\Microsoft.Build.Tasks.v4.0.dll')" />`
+`<Import Project="$(MSBuildExtensionsPath32)\FSharp\1.0\Microsoft.FSharp.Targets"`
+`Condition="!Exists('$(MSBuildBinPath)\Microsoft.Build.Tasks.v4.0.dll')" />`
+ `<Import Project="$(MSBuildExtensionsPath32)\..\Microsoft F#\v4.0\Microsoft.FSharp.Targets"`
+ `Condition=" Exists('$(MSBuildBinPath)\Microsoft.Build.Tasks.v4.0.dll')" />`
**updated**
@@ -27,16 +29,16 @@ The sample in this repository is a Twitter demo app that loads up the first 10 t
- Generate the OAuth secret and key by following the below steps,
- You can find more details [here](https://dev.twitter.com/docs/auth/oauth/faq). Execute the below code based from the sample in a F# script file or console app,
-`// Execute the below three lines first and then copy-paste the verifier code that Twitter gives you
-let oauth_token'', oauth_token_secret'', oauth_callback_confirmed = OAuth.requestToken()
-let url = OAuth.authorizeURI + "?oauth_token=" + oauth_token''
-System.Diagnostics.Process.Start(url) |> ignore`
+`// Execute the below three lines first and then copy-paste the verifier code that Twitter gives you`
+`let oauth_token'', oauth_token_secret'', oauth_callback_confirmed = OAuth.requestToken()`
+`let url = OAuth.authorizeURI + "?oauth_token=" + oauth_token''`
+`System.Diagnostics.Process.Start(url) |> ignore`
- This will authenticate from twitter and execute the below code to generate the verifier key
-`let mutable verifier = ""
-let oauth_token, oauth_token_secret = OAuth.accessToken(oauth_token'', oauth_token_secret'', verifier)
-printfn "%s" oauth_token
-printfn "%s" oauth_token_secret`
+`let mutable verifier = ""`
+`let oauth_token, oauth_token_secret = OAuth.accessToken(oauth_token'', oauth_token_secret'', verifier)`
+`printfn "%s" oauth_token`
+`printfn "%s" oauth_token_secret`
- Replace these keys in the project and run, you should be able to see the tweets appearing in your screen!

0 comments on commit c2a6645

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