Error from Rfacebook 'getPage' with since&until
<p>I am using <code>Rfacebook</code> version <code>0.6</code>.</p>

<p>When I call <code>getPage</code> with <code>since</code> and <code>until</code> dates as following, I get the following error.  What I am doing wrong, or if there's something that need be updated in the package itself?</p>

<p>Note: <code>&lt;facebook_page_name&gt;</code>, <code>&lt;my_app_id&gt;</code>, <code>&lt;my_app_secret&gt;</code> are placeholders for illustration, without using the actual values.</p>

<p>Here are the details:</p>

<pre><code>content&lt;-get_fb_data("&lt;facebook_page_name&gt;",since="2016/01/01",until="2016/01/20",condition=2)

get_fb_data&lt;-function(page_name,no_of_records,since_date,until_date,condition)
{

  #get data from facebook page

  library("Rfacebook")

  fb_oauth &lt;- fbOAuth(app_id="&lt;my_app_id&gt;",    app_secret="&lt;my_app_secret&gt;",
extended_permissions = FALSE)

  if (condition == 1)
  {
    content&lt;-getPage(page_name, fb_oauth, no_of_records, feed = TRUE)
  } 
  else
  {
    since_date&lt;-paste(since_date,"00:00:00 IST",sep=" ")
    until_date&lt;-paste(until_date,"23:59:59 IST",sep=" ")

    from_value&lt;-as.numeric(as.POSIXct(since_date)) 
    to_value&lt;-as.numeric(as.POSIXct(until_date))

    content&lt;-getPage(page_name, fb_oauth, 
                         since = from_value, 
                         until = to_value, 
                         feed = TRUE)
  }

  return(content)
}
</code></pre>

<p>Error displayed:</p>

<blockquote>
  <p>Error in as.Date.numeric(since) : 'origin' must be supplied</p>
</blockquote>

<p>Per debug, this is from function <code>as.Date</code> called in <code>getPage</code>.</p>