Skip to content

Commit

Permalink
documentation updates + version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
pablobarbera committed Jun 2, 2017
1 parent 0f16299 commit 7c08ae4
Show file tree
Hide file tree
Showing 43 changed files with 87 additions and 101 deletions.
3 changes: 3 additions & 0 deletions Rfacebook/ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,6 @@
- adds getEvents
- updates in searchPages
- minor fixes
2017-06-01 - version 0.6.16
- documentation updates
- searchGroups now returns 25+ results
6 changes: 3 additions & 3 deletions Rfacebook/DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: Rfacebook
Title: Access to Facebook API via R
Description: Provides an interface to the Facebook API.
Version: 0.6.15
Date: 2017-05-24
Version: 0.6.16
Date: 2017-06-01
Author: Pablo Barbera <[email protected]>, Michael Piccirilli
<[email protected]>, Andrew Geisler, Wouter van Atteveldt
Maintainer: Pablo Barbera <[email protected]>
Expand All @@ -14,4 +14,4 @@ Depends:
rjson,
httpuv
License: GPL-2
RoxygenNote: 5.0.1
RoxygenNote: 6.0.1
5 changes: 4 additions & 1 deletion Rfacebook/NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,7 @@ export(updateStatus)
import(httpuv)
import(httr)
import(rjson)
importFrom("utils", "URLencode", "packageVersion", "setTxtProgressBar", "txtProgressBar")
importFrom(utils,URLencode)
importFrom(utils,packageVersion)
importFrom(utils,setTxtProgressBar)
importFrom(utils,txtProgressBar)
3 changes: 2 additions & 1 deletion Rfacebook/R/Rfacebook-package.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
#' @name Rfacebook-package
#' @aliases Rfacebook
#' @docType package
#' @author Pablo Barbera \email{pablo.barbera@@nyu.edu}
#' @author Pablo Barbera \email{pbarbera@@usc.edu}
#' @import httr rjson httpuv
#' @importFrom utils URLencode packageVersion setTxtProgressBar txtProgressBar
NULL

3 changes: 2 additions & 1 deletion Rfacebook/R/fbOAuth.R
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
#'
#'
#' @author
#' Pablo Barbera \email{pablo.barbera@@nyu.edu}
#' Pablo Barbera \email{pbarbera@@usc.edu}
#' @seealso \code{\link{getUsers}}, \code{\link{getPost}}, \code{\link{searchFacebook}}
#'
#' @param app_id numeric, App ID of application to be used to create OAUth token. Available
Expand Down Expand Up @@ -93,6 +93,7 @@

fbOAuth <- function(app_id, app_secret, extended_permissions=FALSE, legacy_permissions=FALSE, scope=NULL)
{

## getting callback URL
full_url <- oauth_callback()
full_url <- gsub("(.*localhost:[0-9]{1,5}/).*", x=full_url, replacement="\\1")
Expand Down
2 changes: 1 addition & 1 deletion Rfacebook/R/getCheckins.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#' Check-in search was deprecated with version 2.0 of the Facebook Graph API.
#'
#' @author
#' Pablo Barbera \email{pablo.barbera@@nyu.edu}
#' Pablo Barbera \email{pbarbera@@usc.edu}
#' @seealso \code{\link{getFriends}}
#'
#' @param token Either a temporary access token created at
Expand Down
2 changes: 1 addition & 1 deletion Rfacebook/R/getEvents.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#' \code{getEvents} retrieves event information from a public Facebook group or page.
#'
#' @author
#' Pablo Barbera \email{pablo.barbera@@nyu.edu}
#' Pablo Barbera \email{pbarbera@@usc.edu}
#' @seealso \code{\link{getPage}}, \code{\link{fbOAuth}}
#'
#' @param page Facebook ID for the group or page.
Expand Down
2 changes: 1 addition & 1 deletion Rfacebook/R/getFQL.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#' an overview of the Facebook Query Language.
#'
#' @author
#' Pablo Barbera \email{pablo.barbera@@nyu.edu}
#' Pablo Barbera \email{pbarbera@@usc.edu}
#'
#' @param query Text of query
#'
Expand Down
2 changes: 1 addition & 1 deletion Rfacebook/R/getFriends.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#' token to query the API will be returned.
#'
#' @author
#' Pablo Barbera \email{pablo.barbera@@nyu.edu}
#' Pablo Barbera \email{pbarbera@@usc.edu}
#' @seealso \code{\link{getUsers}}, \code{\link{fbOAuth}}
#'
#' @param token Either a temporary access token created at
Expand Down
2 changes: 1 addition & 1 deletion Rfacebook/R/getGroup.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#' \code{getGroup} retrieves information from a public Facebook group.
#'
#' @author
#' Pablo Barbera \email{pablo.barbera@@nyu.edu}
#' Pablo Barbera \email{pbarbera@@usc.edu}
#' @seealso \code{\link{getUsers}}, \code{\link{getPost}}, \code{\link{fbOAuth}}
#'
#' @param group_id Facebook ID for the group. Note that this is different from
Expand Down
2 changes: 1 addition & 1 deletion Rfacebook/R/getLikes.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#' permissions: user_likes, friends_likes
#'
#' @author
#' Pablo Barbera \email{pablo.barbera@@nyu.edu}
#' Pablo Barbera \email{pbarbera@@usc.edu}
#' @seealso \code{\link{getFriends}}, \code{\link{fbOAuth}}
#'
#' @param token Either a temporary access token created at
Expand Down
2 changes: 1 addition & 1 deletion Rfacebook/R/getNetwork.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#' only friends who are using the application will be returned.
#'
#' @author
#' Pablo Barbera \email{pablo.barbera@@nyu.edu}
#' Pablo Barbera \email{pbarbera@@usc.edu}
#' @seealso \code{\link{getFriends}}, \code{\link{fbOAuth}}
#'
#' @param token Either a temporary access token created at
Expand Down
2 changes: 1 addition & 1 deletion Rfacebook/R/getNewsfeed.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#' News Feed
#'
#' @author
#' Pablo Barbera \email{pablo.barbera@@nyu.edu}
#' Pablo Barbera \email{pbarbera@@usc.edu}
#' @seealso \code{\link{fbOAuth}}, \code{\link{getPost}}
#'
#' @param token Either a temporary access token created at
Expand Down
2 changes: 1 addition & 1 deletion Rfacebook/R/getPage.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#' some comments have been deleted.
#'
#' @author
#' Pablo Barbera \email{pablo.barbera@@nyu.edu}
#' Pablo Barbera \email{pbarbera@@usc.edu}
#' @seealso \code{\link{getUsers}}, \code{\link{getPost}}, \code{\link{fbOAuth}}
#'
#' @param page A page ID or page name.
Expand Down
2 changes: 1 addition & 1 deletion Rfacebook/R/getPost.R
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#' if some comments have been deleted.
#'
#' @author
#' Pablo Barbera \email{pablo.barbera@@nyu.edu}
#' Pablo Barbera \email{pbarbera@@usc.edu}
#' @seealso \code{\link{getUsers}}, \code{\link{getPage}}, \code{\link{fbOAuth}}
#'
#' @param post A post ID
Expand Down
2 changes: 1 addition & 1 deletion Rfacebook/R/getReactions.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#' \url{http://stackoverflow.com/questions/36930414/how-can-i-get-facebook-graph-api-reaction-summary-count-separately}
#'
#' @author
#' Pablo Barbera \email{pablo.barbera@@nyu.edu}
#' Pablo Barbera \email{pbarbera@@usc.edu}
#' @seealso \code{\link{getPage}}, \code{\link{getPost}}
#'
#' @param post A post ID, or a vector of post IDs
Expand Down
2 changes: 1 addition & 1 deletion Rfacebook/R/getShares.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#' \url{https://developers.facebook.com/bugs/1404733043148335/}
#'
#' @author
#' Pablo Barbera \email{pablo.barbera@@nyu.edu}
#' Pablo Barbera \email{pbarbera@@usc.edu}
#' @seealso \code{\link{getPage}}, \code{\link{getPost}}
#'
#' @param post A post ID
Expand Down
2 changes: 1 addition & 1 deletion Rfacebook/R/getUsers.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#' through the API. All the remaining fields will be missing.
#'
#' @author
#' Pablo Barbera \email{pablo.barbera@@nyu.edu}
#' Pablo Barbera \email{pbarbera@@usc.edu}
#' @seealso \code{\link{getFriends}}, \code{\link{getPost}}, \code{\link{searchFacebook}}
#'
#' @param users A vector of user IDs.
Expand Down
2 changes: 1 addition & 1 deletion Rfacebook/R/searchFacebook.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#'
#'
#' @author
#' Pablo Barbera \email{pablo.barbera@@nyu.edu}
#' Pablo Barbera \email{pbarbera@@usc.edu}
#' @seealso \code{\link{fbOAuth}}
#'
#' @param string string or string vector containing keywords to search.
Expand Down
2 changes: 1 addition & 1 deletion Rfacebook/R/searchPages.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#' \code{searchPages} retrieves public pages that mention a given keyword
#'
#' @author
#' Pablo Barbera \email{pablo.barbera@@nyu.edu}, Joel Gombin \email{joel.gombin@@gmail.com}
#' Pablo Barbera \email{pbarbera@@usc.edu}, Joel Gombin \email{joel.gombin@@gmail.com}
#' @seealso \code{\link{fbOAuth}}, \code{\link{searchFacebook}}
#'
#' @param string string or string vector containing keywords to search.
Expand Down
2 changes: 1 addition & 1 deletion Rfacebook/R/updateStatus.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#' on the Facebook profile of the authenticated user.
#'
#' @author
#' Pablo Barbera \email{pablo.barbera@@nyu.edu}, Zakharov Kyrylo
#' Pablo Barbera \email{pbarbera@@usc.edu}, Zakharov Kyrylo
#' (\url{https://github.com/Amice13})
#'
#' @seealso \code{\link{getUsers}}, \code{\link{getPost}}
Expand Down
9 changes: 4 additions & 5 deletions Rfacebook/man/Rfacebook-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Rfacebook/man/callAPI.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions Rfacebook/man/fbOAuth.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions Rfacebook/man/getCheckins.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions Rfacebook/man/getCommentReplies.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions Rfacebook/man/getEvents.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions Rfacebook/man/getFQL.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions Rfacebook/man/getFriends.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions Rfacebook/man/getGroup.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Rfacebook/man/getInsights.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions Rfacebook/man/getLikes.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions Rfacebook/man/getNetwork.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions Rfacebook/man/getNewsfeed.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions Rfacebook/man/getPage.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7c08ae4

Please sign in to comment.