bike_index_recoveries | An app to show a list of bikes recovered by BikeIndex.org

 by   adherr Ruby Version: Current License: No License

kandi X-RAY | bike_index_recoveries Summary

kandi X-RAY | bike_index_recoveries Summary

bike_index_recoveries is a Ruby library typically used in Bitcoin applications. bike_index_recoveries has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.

Will interact with the BikeIndex.org API in order to recieve information about and display lists of bikes recovered with the help of BikeIndex.org (and StolenBikeRegistry.com).
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              bike_index_recoveries has a low active ecosystem.
              It has 1 star(s) with 0 fork(s). There are 2 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              bike_index_recoveries has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of bike_index_recoveries is current.

            kandi-Quality Quality

              bike_index_recoveries has no bugs reported.

            kandi-Security Security

              bike_index_recoveries has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              bike_index_recoveries does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              bike_index_recoveries releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of bike_index_recoveries
            Get all kandi verified functions for this library.

            bike_index_recoveries Key Features

            No Key Features are available at this moment for bike_index_recoveries.

            bike_index_recoveries Examples and Code Snippets

            No Code Snippets are available at this moment for bike_index_recoveries.

            Community Discussions

            No Community Discussions are available at this moment for bike_index_recoveries.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install bike_index_recoveries

            Is kind of a pain in the ass. Everything you need to know comes from here: https://developers.facebook.com/docs/facebook-login/access-tokens/. Namely that you need a page-token to update a page, and that in order to get a page token, you have to get a user-token and then ask for me/accounts. I'll try to lay out the process I used here.
            Sign up the application at https://developers.facebook.com/
            Open a new tab pointed to the Graph Explorer tool https://developers.facebook.com/tools/explorer
            Use the Application drop down to select your application
            Click Get Access Token and don't click any boxes, just do Get Access Token
            If you want to, do a GET to /v2.0/me (optional)
            Click Get Access Token again. This time, select Extended Permissions and then the boxes publish_actions and manage_pages, and then Get Access Token.
            Now you have a short term user-token for yourself in the Access Token field in the Graph Explorer. If you do a GET to /v2.0/me/accounts you'll see what pages you have access to, access tokens for you to use those pages through the API, and your permissions on those pages. However this is a short term (a few hours) access token to the page. We want a forever page-token.
            To get a forever page-token, you have to do the GET to /v2.0/me/accounts using a long-term user-token. To get that, whip out curl or your preferred method of receiving JSON, perform the following at https://graph.facebook.com GET /oauth/access_token? grant_type=fb_exchange_token& client_id={app-id}& client_secret={app-secret}& fb_exchange_token={short-lived-token} where {app-id} and {app-secret} are on the page you still have open from step 1, and {short-lived-token} is what you got in step 6.
            The access_token you receive in the JSON response is your long term user-token (as you can see from its 60 day expiry time, listed in seconds). Copy this access_token into the Access Token field in the Graph Explorer
            Use the explorer to GET /v2.0/me/accounts again. This time the access token is a page-token that will never expire. Save this to your secrets file that you'll use in the app to post to facebook. If you'd like to verify that it won't expire, you can use curl or whatever to GET graph.facebook.com/debug_token? input_token={token-to-inspect} &access_token={app-token-or-admin-token} where {token-to-inspect} is that new page-token and {admin-token} is a viable user-token for an admin of the app (you, presumably, because you just created the app) (use your access token from step 6 or 9 here). Don't worry about app-token. This should give you some JSON with an issued_at UNIX time and an "expires_at": 0

            Support

            Currently the only endpoint is the create new recovery endpoint. Only the BikeIndex will be allowed to do this. I expect JSON with the following (in proper JSON format, with quoted keys and values):. Everything is required except recovery_story and tweet, which can be sent with null or omitted entirely. recovery_story can be as long as you want. tweet must be 94 characters or fewer, but the URL doesn't count toward this number (so you might as well use the long form BikeIndex.org). This number comes from 140 tweet length - 23 for the wrapped URL - 23 for the photo. Twitter can change these sizes, but I don't think they do very often. When you hit the API with a bike that has a story it will be posted to Facebook, and if it has a tweet it will be tweeted.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/adherr/bike_index_recoveries.git

          • CLI

            gh repo clone adherr/bike_index_recoveries

          • sshUrl

            git@github.com:adherr/bike_index_recoveries.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link