Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Referral generation and tracking
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  10 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Nikhil Goyal  
View profile  
 More options Sep 22 2011, 2:32 pm
From: Nikhil Goyal <goyal.nikhi...@gmail.com>
Date: Thu, 22 Sep 2011 11:32:02 -0700 (PDT)
Local: Thurs, Sep 22 2011 2:32 pm
Subject: Referral generation and tracking
Here are two things that need to be done.

1. Generate Referreal URL's for users.
-- people will signup and a referral URL will be generated for them,
which they can share

2. Track those referral URL's
-- I will have to track performance of each referral URL

How can go about doing this using Rails 3.1


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nikhil Goyal  
View profile  
 More options Sep 23 2011, 2:54 am
From: Nikhil Goyal <goyal.nikhi...@gmail.com>
Date: Thu, 22 Sep 2011 23:54:24 -0700 (PDT)
Local: Fri, Sep 23 2011 2:54 am
Subject: Re: Referral generation and tracking
Should sessions be used to track referral URL's ??

On Sep 22, 11:32 pm, Nikhil Goyal <goyal.nikhi...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Facebook Application on rails3.0.9 fb dialog issue." by subbarao
subbarao  
View profile  
 More options Sep 23 2011, 3:46 am
From: subbarao <subbarao....@gmail.com>
Date: Fri, 23 Sep 2011 13:16:03 +0530
Local: Fri, Sep 23 2011 3:46 am
Subject: Facebook Application on rails3.0.9 fb dialog issue.
When a user accesses my facebook app via
http://apps.facebook.com/myappxxxxx, I want it to immediately show the
request permissions fb dialog - like so many others do.

The problem is that it shows a big facebook icon instead of the request
permissions. However, if you click on that icon, it in fact goes to the
correct request permissions page!

Does anyone know how to redirect to the facebook permissions page properly?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jim Ruther Nill  
View profile  
 More options Sep 23 2011, 4:03 am
From: Jim Ruther Nill <jvn...@gmail.com>
Date: Fri, 23 Sep 2011 16:03:10 +0800
Local: Fri, Sep 23 2011 4:03 am
Subject: Re: [Rails] Facebook Application on rails3.0.9 fb dialog issue.

On Fri, Sep 23, 2011 at 3:46 PM, subbarao <subbarao....@gmail.com> wrote:
> When a user accesses my facebook app via http://apps.facebook.com/**
> myappxxxxx <http://apps.facebook.com/myappxxxxx>, I want it to immediately
> show the request permissions fb dialog - like so many others do.

> The problem is that it shows a big facebook icon instead of the request
> permissions. However, if you click on that icon, it in fact goes to the
> correct request permissions page!

Does anyone know how to redirect to the facebook permissions page properly?

not ideal but you can always use javascript to click the facebook image on
page load.

> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to rubyonrails-talk@googlegroups.**com<rubyonrails-talk@googlegroups.com>
> .
> To unsubscribe from this group, send email to
> rubyonrails-talk+unsubscribe@**googlegroups.com<rubyonrails-talk%2Bunsubscr ibe@googlegroups.com>
> .
> For more options, visit this group at http://groups.google.com/**
> group/rubyonrails-talk?hl=en<http://groups.google.com/group/rubyonrails-talk?hl=en>
> .

--
-------------------------------------------------------------
visit my blog at http://jimlabs.heroku.com

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Referral generation and tracking" by Colin Law
Colin Law  
View profile  
 More options Sep 23 2011, 4:14 am
From: Colin Law <clan...@googlemail.com>
Date: Fri, 23 Sep 2011 09:14:52 +0100
Local: Fri, Sep 23 2011 4:14 am
Subject: Re: [Rails] Referral generation and tracking
On 22 September 2011 19:32, Nikhil Goyal <goyal.nikhi...@gmail.com> wrote:

> Here are two things that need to be done.

> 1. Generate Referreal URL's for users.
> -- people will signup and a referral URL will be generated for them,
> which they can share

> 2. Track those referral URL's
> -- I will have to track performance of each referral URL

> How can go about doing this using Rails 3.1

I think the reason that you have had no replies is that your question
is much to general and vague.

Can I ask how much experience you have with Rails?  If you are a
beginner and have not yet done so then I suggest that you work through
some detailed tutorials to get a grasp of the variety of features
availble.  I don't just mean skim through but work right through
making sure you understand everything.  Then you should be able to
answer most questions yourself.  railstutorial.org is good and free to
use online.

If you are not a beginner then try and explain in more detail what you
are trying to do, and explain the bits of it that you are having
difficulty working out how to implement.  However it is best to try
and keep to just one question per thread as otherwise it all gets
confusing.  So sit down, work out what you want to do and pull out the
key question that you need help with.

Colin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nikhil Goyal  
View profile  
 More options Sep 23 2011, 7:54 am
From: Nikhil Goyal <goyal.nikhi...@gmail.com>
Date: Fri, 23 Sep 2011 04:54:07 -0700 (PDT)
Local: Fri, Sep 23 2011 7:54 am
Subject: Re: Referral generation and tracking
I'm not really a expert. Advanced begineer you can say.

I'll elaborate a bit.

1. Generate referral URL's

A user signs up and user is given a referral URL e.g. www.mysite.com/435
, where 435 is the refer ID. This URL can be shared by the user.

2. Tracking referral URL's

Now I want to be able to track how many people have clicked no
www.mysite.com/435 and how many have signed up using a particular
referral URL

I want some suggestions regarding how do I construct my model and
controllers.

On Sep 23, 1:14 pm, Colin Law <clan...@googlemail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Colin Law  
View profile  
 More options Sep 23 2011, 8:21 am
From: Colin Law <clan...@googlemail.com>
Date: Fri, 23 Sep 2011 13:21:54 +0100
Local: Fri, Sep 23 2011 8:21 am
Subject: Re: [Rails] Re: Referral generation and tracking
On 23 September 2011 12:54, Nikhil Goyal <goyal.nikhi...@gmail.com> wrote:

Please don't top post it makes it difficult to follow the thread.
Insert your reply at appropriate points in the previous message.
Thanks.

> I'm not really a expert. Advanced begineer you can say.

> I'll elaborate a bit.

> 1. Generate referral URL's

> A user signs up and user is given a referral URL e.g. www.mysite.com/435
> , where 435 is the refer ID. This URL can be shared by the user.

You are talking about referrals so possibly you want a Referral model.
 Then the /435 above is the referral id and the url will go to the
show for that referral.

> 2. Tracking referral URL's

> Now I want to be able to track how many people have clicked no
> www.mysite.com/435 and how many have signed up using a particular
> referral URL

Possibly increment a column in the referral object each time someone
goes there and a different one if they sign up using it.

--
gplus.to/clanlaw

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Facebook Application on rails3.0.9 fb dialog issue." by Nopik
Nopik  
View profile  
 More options Sep 24 2011, 3:58 am
From: Nopik <nopi...@gmail.com>
Date: Sat, 24 Sep 2011 00:58:05 -0700 (PDT)
Local: Sat, Sep 24 2011 3:58 am
Subject: Re: Facebook Application on rails3.0.9 fb dialog issue.
On Sep 23, 9:46 am, subbarao <subbarao....@gmail.com> wrote:

> When a user accesses my facebook app viahttp://apps.facebook.com/myappxxxxx, I want it to immediately show the
> request permissions fb dialog - like so many others do.

> The problem is that it shows a big facebook icon instead of the request
> permissions. However, if you click on that icon, it in fact goes to the
> correct request permissions page!

> Does anyone know how to redirect to the facebook permissions page properly?

Use top.location, not window.location.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
subbarao  
View profile  
 More options Sep 24 2011, 4:46 am
From: subbarao <subbarao....@gmail.com>
Date: Sat, 24 Sep 2011 14:16:02 +0530
Local: Sat, Sep 24 2011 4:46 am
Subject: Re: [Rails] Re: Facebook Application on rails3.0.9 fb dialog issue.
On Saturday 24 September 2011 01:28 PM, Nopik wrote:
> On Sep 23, 9:46 am, subbarao<subbarao....@gmail.com>  wrote:
>> When a user accesses my facebook app viahttp://apps.facebook.com/myappxxxxx, I want it to immediately show the
>> request permissions fb dialog - like so many others do.

>> The problem is that it shows a big facebook icon instead of the request
>> permissions. However, if you click on that icon, it in fact goes to the
>> correct request permissions page!

>> Does anyone know how to redirect to the facebook permissions page properly?
> Use top.location, not window.location.

In which place I have to use top.location .
I am using gems
gem 'omniauth', '>= 0.2.6'

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nopik  
View profile  
 More options Sep 25 2011, 5:54 am
From: Nopik <nopi...@gmail.com>
Date: Sun, 25 Sep 2011 02:54:06 -0700 (PDT)
Local: Sun, Sep 25 2011 5:54 am
Subject: Re: Facebook Application on rails3.0.9 fb dialog issue.

> >> Does anyone know how to redirect to the facebook permissions page properly?
> > Use top.location, not window.location.

> In which place I have to use top.location .
> I am using gems
> gem 'omniauth', '>= 0.2.6'

I'm not sure how to do it using omniauth. In my apps I do it manually,
having code like this:
top.location.href = "https://www.facebook.com/dialog/oauth?
scope=publish_stream&client_id=<%= fb_app_id %>&redirect_uri=<%= url
%>"

If I change top.location to window.location, only inner frame gets
redirected, having FB chrome around it, and resulting in that big FB
logo, which clicked indeed redirect me to the target page.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »