Displaying 20 results from an estimated 1000 matches similar to: "loading settings from database"
2008 Mar 20
2
Anyone having problems with asset_host not getting set up right?
Hey All,
I think I found a bug but I would be suprised since it would cause major
problems.
We setup the asset_host in init.rb with:
if File.exist?(facebook_config)
FACEBOOKER = YAML.load_file(facebook_config)[RAILS_ENV]
ENV[''FACEBOOK_API_KEY''] = FACEBOOKER[''api_key'']
ENV[''FACEBOOK_SECRET_KEY''] =
2008 Mar 31
13
request for change in URL pointing to facebook domain
I am requesting that we change the paths that absolutely point to the
facebook URL.
In the PHP client there is a method in the facebook.php file called
get_facebook_url() so this is easy to change there.
One reason for this:
Ringside Networks is a drop in replacement for Facebook that can be
used for localhost development and eventually an abstraction for most
social networks - it mimics the
2008 May 07
4
Updating a Facebook Status
Does anyone know how to update a Facebook Status with Facebooker?
2008 Jan 11
18
getting started
Hey all,
Been reading through all the old posts (and the docs) to familiarize
myself but I still feel a bit lost.
I''m on trunk and am having a bit of a hard time knowing where to start
with the particular I''m trying to solve.
So far, I''ve downloaded backgroundrb, done the basic rails setup,
created my worker and started it using `script/backgroundrb start`.
2007 Dec 04
5
new facebooker
Hi guys,
I am new to this list and thought i''d say hello. I am using
facebooker on a new project and so far I am really pleased with it. I
saw that some users are having woes with the url_rewriter breaking
urls for paths outside of the facebook canvas (i.e. your site
supports both facebook and non-facebook users). I don''t have a
prefect answer for this but I wrote a
2008 Feb 01
2
Facebooker interfering with existing application
Hi!
I have an existing application, basically a very simple Hobo app. It
works...
When I install the Facebooker plugin and create the facebooker.yml file
(with valid or fake content, doesn''t matter), the original app starts
behaving strangely.
The controller and view logic keeps working, but several static files stop
being served from http://localhost:3000/javascripts and start being
2008 Jan 29
3
Facebook Redirects to Callback Path after log in
Hey,
I am wondering if anyone has run into this issue before. I can''t seem
to figure out what Facebook is doing.
I have an application that only requires Facebook Authentication, the
user doesn''t need to "add" the app. So at the top of my main
controller I have
class GettingStartedController < ApplicationController
ensure_authenticated_to_facebook
......
2008 Mar 10
15
facebooker is rewriting URLs even off of facebook canvas
The URLs for CSS/JS files are being rewritten to the address specified
in the tunnel even when outside of the facebook canvas. Is anyone else
having this problem?
2008 Mar 18
4
respond_to formats, fbml and fbjs
In my controllers I have a respond_to block for both fbml and fbjs.
I created the fbjs mime type in environment.rb:
Mime::Type.register "application/javascript", :fbjs
However, even if I specify fbjs in a parameter name format during AJAX
post requests, it is being overwritten by Rails or Facebooker as FBML.
I confirmed this by placing logger.debug params[:format] immediately
before
2008 Mar 14
8
Facebooker updates
I just went through and cleaned out most of the bugs and patches. I
also added a facebooker.js file that implements enough of prototype to
do $() and link_to_remote with :update and remote_form_for with :update
Let me know if you run into any issues with it.
Mike
--
Mike Mangino
http://www.elevatedrails.com
2008 Dec 16
3
ApplicationProperties
Hi There,
I was wondering what the appropriate way to use the
applicationproperties.rb model was.
I was hoping to query it to find out which users are developers for my
app and then grant special permissions to them ...
I tried creating something like this:
class ApplicationProperties < ActiveRecord::Base
def facebook_session
@facebook_session ||=
returning
2008 Mar 24
2
link_to_remote and restful routes/urls
is there a way to access a restful resource with mike''s new
link_to_remote helper?
something like:
<%= link_to_remote h(user.name),
:update => "div_id",
:url => user_url(user) %>
of course, that doesn''t work.
i have also been trying things like:
:url => controller.asset_host +
2008 Jun 03
2
Order of authentication methods is causing unnecessary call to API?
Hey Guys,
I am wondering if I am missing something here. I am noticing that after a
user installs my app I get a request that not only contains an auth_key but
also contains a valid session key.
Occasionally I am seeing that Facebook server is occasionally sending a
connection reset during the auth key authentication method, this caused me
to notice that secure_with_token is given precedence in
2018 Jan 24
2
Issue with concatenation of URL losing
Thank you for your help in advance.
I am trying to pull some data back from a web service
library(httr)
sample2 <- GET("https://elevation.mapzen.com/height?json={\"range\":false,\"shape\":[{\"lat\":40.7,\"lon\":-76.5}]}&api_key=mycode")
result2 <- content(sample2)
height <- result2$height[[1]]
I would like to put by own latitude
2018 Jan 24
0
Issue with concatenation of URL losing
a) you need to read the help pages on the paste function... more likely
you are looking for the paste0 function because extra spaces will most
likely break the GET request format.
b) quotes do not become "stuck" as \" ... that is a visual representation
intended to clarify that that quote is not terminating the string but is
actually part of it. If you want to see the contents
2018 Jan 19
5
API de AEMET con R?
Desde el terminal de Ubuntu, he conseguido descargar los datos usando esto:
DESCARGAR LISTA DE ESTACIONES
wget --method GET --header 'cache-control: no-cache' --no-check-certificate
--output-document -
https://opendata.aemet.es/opendata/api/valores/climatologicos/inventarioestaciones/todasestaciones/?api_key=*vuestra
api key*
DESCARGAR DATOS HISTÓRICOS
Diciembre 2017, ALICANTE
wget
2008 Mar 11
0
Facebooker-talk Digest, Vol 5, Issue 12
Hi all,
I wanted to test requests from internal facebook apps, so I''ve been
mimicking FBML requests from facebook in my tests using the following:
def test_can_facebook_internal_app_login
fb_login_as :facebooker
num_of_members = Member.count
facebook_request :get, :home
assert_response :success
assert_equal num_of_members, Member.count
2008 Mar 11
0
Facebook_request in unit tests
Apologies for not chaning the subject line. :(
Hi all,
I wanted to test requests from internal facebook apps, so I''ve been
mimicking FBML requests from facebook in my tests using the following:
def test_can_facebook_internal_app_login
fb_login_as :facebooker
num_of_members = Member.count
facebook_request :get, :home
assert_response :success
assert_equal
2008 Mar 11
0
How to get a facebook session for desktop applications (or unit tests?)
Normally, in a rails app, all one would have to do is call
set_facebook_session, or the ensure_* filters to get a valid session.
I''ve been looking through the sessions code to figure out how to get a
valid session for desktop applications (or unit tests)--basically
outside of rails controller.
As far as I can ascertain, you should just be able to do this:
require
2023 Jun 06
1
Listen to ARI events
I have the ARI enabled on my Asterisk test box, and want to listen to all
events. I can't find the syntax to do that. Can I only listen to events
related to a stasis app?
I was hoping that a simple wscat command like this would show me all events:
wscat -c "ws://localhost:8088/ari/events?api_key=asterisk:asterisk "
I know how to do it form the AMI.looking for