Coder Social home page Coder Social logo

greenbean-sk's People

Contributors

d6veteran avatar sampyxis avatar

Stargazers

 avatar

Watchers

 avatar  avatar

greenbean-sk's Issues

Vote count in list

Should we put the number of beans the user has in the list of brags?

I think it would make it a bit more competitive.

Refactor App To New Datastore Schema

models.py contains the definitions of the new Datastore Models. These need to be merged into the existing code, which will cause some havoc as it will break existing Models and references to them.

Error When New User Signs Up

Reproduce:

  1. Create new account.
  2. Go to application.
  3. Click to join.
  4. User Profile is show with Brag box.
  5. Enter Brag and share.
  6. Stack trace displayed:
Traceback (most recent call last):
  File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line 517, in __call__
    handler.post(*groups)
  File "/base/data/home/apps/sampyxisstockwatcher/1.347083389687007549/main.py", line 100, in post
    results  = facebook.GraphAPI(user.fb_access_token).put_wall_post(message, attachment)
  File "/base/data/home/apps/sampyxisstockwatcher/1.347083389687007549/facebook.py", line 144, in put_wall_post
    return self.put_object(profile_id, "feed", message=message, **attachment)
  File "/base/data/home/apps/sampyxisstockwatcher/1.347083389687007549/facebook.py", line 126, in put_object
    return self.request(parent_object + "/" + connection_name, post_args=data)
  File "/base/data/home/apps/sampyxisstockwatcher/1.347083389687007549/facebook.py", line 179, in request
    response["error"]["message"])
GraphAPIError: (#200) The user hasn't authorized the application to perform this action

Formating is messed up on IE

On IE - for the FB app - there are issues with seeing the full list of brags (only shows the top few) and the bottom links appear on the side and need to scroll over to see them.

Cookie Not Being Cleared On Logout

Reproduce:

  1. Login to Facebook as User A (who has authorized GB).
  2. Logout of Facebook.
  3. Login to Facebook as User B (who has authorized GB).
  4. Go to GB App page on Facebook.
  5. User B will see User A's profile including Brag box. User B should see User B's profile when going to the application. The default landing page for the application should be the profile of the logged in user.

Brag paging

How many brags do we show per page? Need paging.

User A can make posts for User B

Anyone can share a Brag on behalf of another user.

Repro:
1 - Go to profile for a user that is not you (User A).
2 - Make sure you are logged in (User B) and enter a Brag on User A's profile page and then share.
3 - The Brag is posted for User A.

Add Facebook Authentication For iFrame

I have a stable "web" build. It doesn't work in an iFrame. So now we need to branch authentication logic so we can provide login/logout from the iFrame. Basically, from the MainHandler, we call a method to get the user, and in that method we can pass the referer uri and do something different for Facebook iFrames.

I can try to do this, or you can work it back in while I work on templates.

We should get on the phone today if you can.

Facebook iFrame Detection Broken

I realized that the first request is serving a Facebook Template, but subsequent attempts are not.

I'm detecting by Referer, so the first hit is from Facebook, but secondary hits in the iFrame show appspot as the Referer (with is technically true within the scope of the iFrame).

This is causing problems with the login button. So I need a way to consistently and reliably detect requests from a Facebook iFrame.

Post FB Authorization url

The url in the browser bar stays at /auth/login/?code=...

Need a refresh to a the app name for the browser (app.facebook.com/gbsamtest)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.