fb-graph

facebook Security Warning while user has enabled secure login - iPhone

陌路散爱 提交于 2019-12-28 06:49:07
问题 I am working on an application which uses FB login. For login from faceBook I am using FBGraph and it works fine if users have disabled secure login in their account, but if user enables the secure login then it gives following message.. Here is my code i used for login self.fbGraph = [[FbGraph alloc] initWithFbClientID:client_id]; [fbGraph authenticateUserWithCallbackObject:self andSelector:@selector(fbGraphCallback:) andExtendedPermissions:@"user_photos,user_videos,publish_stream,offline

FB_Graph: An error occurred. Please try again later

我与影子孤独终老i 提交于 2019-12-23 04:43:27
问题 I am using fb_graph for my rails app. I just followed nov/fb_graph app. It was working fine till last week, i was able yo login and could get user information. But suddenly i am getting error. I didnt change anything in my app. my app_id, screat_id everything is correct. Even i am getting error when i close that facebook error window like Graph::Auth::VerificationFailed Facebook cookie not found Could any one got through this error 回答1: this just because of URL mistake whatever website url is

Node.js syntax error “unexpected token” on “exports.”

拥有回忆 提交于 2019-12-08 19:47:37
问题 I have been trying to learn node.js. I am trying to create a simple node.js web api and a html-javascript front end to login using Facebook auth and store Facebook id in Mongodb. I was able to do it by following tutorials available online. Now I want to segregate the code into multiple files but when I try to create a route "user" and expose functions via exports. I am getting the following error. module.exports.userLogin = function(req,res){ ^ SyntaxError: Unexpected token . at Module.

Error while posting to feed: “The user hasn't authorized the application to perform this action”

感情迁移 提交于 2019-12-08 11:26:29
问题 I'm getting error while posting a feed on my facebook from url: (#200) The user hasn't authorized the application to perform this action I'm using https://graph.facebook.com/me/feed?name=hello&message=hello_from_url&access_token=access_token as my URL. I'm creating a rails app for which I need scope parameter so that I can post on my timeline from rails app but I'm unable to find out the exact solution. 回答1: First thing is that adding scope parameter to this posting URL is useless,

How do i solve FbGraph::Unauthorized: OAuthException :: (#200) The user hasn't authorized the application to perform this action

依然范特西╮ 提交于 2019-12-08 07:39:15
问题 I am getting error FbGraph::Unauthorized: OAuthException :: (#200) The user hasn't authorized the application to perform this action.My omniauth.rb look like this: Rails.application.config.middleware.use OmniAuth::Builder do provider :facebook, ENV['FACEBOOK_APP_ID'], ENV['FACEBOOK_SECRET'], {:scope => "offline_access, publish_stream, user_photos, publish_checkins, photo_upload"} end and my controller contains: me = FbGraph::User.me(ACCESS_TOKEN) me.feed!( :message => 'Updating via FbGraph',

Facebook video/audio share?

会有一股神秘感。 提交于 2019-12-08 06:58:34
问题 Am also having some problem with sharing audio/video, I tried this code block to share audio file. me = FbGraph::User.me(ACCESS_TOKEN) me.feed!( :message => 'Updating via FbGraph', :source => 'http://s3.amazonaws.com/derbywire_development/system/audios/21/original/ROJA.mp3?1376993284', :description => 'A Ruby wrapper for Facebook Graph API', :name => 'FbGraph', :type => 'mp3' ) Its sharing the post the but the player is not coming for me. its simply showing the link. Can any one help me out

Facebook wall post error: OAuthException :: (#1500) The url you supplied is invalid

吃可爱长大的小学妹 提交于 2019-12-07 00:16:49
问题 I have a web-based news app that runs on Heroku. When users post a comment to a news story on my app, my app forwards the comment to the user's facebook wall using fb_graph . Everything worked perfectly until a couple of weeks ago. For no reason that I can explain I am now seeing some baffling behavior. Now, when a user submits a comment to a story the FB API responds with, OAuthException :: (#1500) The url you supplied is invalid . If, the same user then submits additional comments to the

Facebook Open Graph not showing on timeline

穿精又带淫゛_ 提交于 2019-12-04 09:16:57
I'm using FB Open Graph in my application. It's not fully working. When I post a object it appears in the user's recent activity; however, it doesn't appear on their timeline. The metadata has no errors and I'm using the FBGraph gem but it also doesn't work when I do it using curl. Any advise to fix this? Suresh Have you tried to use 'fb:explicitly_shared=true' in your URL. Refer: https://developers.facebook.com/docs/technical-guides/opengraph/explicit-sharing/ When you are in development mode, and your actions have not yet been approved by Facebook, the posted actions are only visible to you

facebook Security Warning while user has enabled secure login - iPhone

狂风中的少年 提交于 2019-11-28 01:22:59
I am working on an application which uses FB login. For login from faceBook I am using FBGraph and it works fine if users have disabled secure login in their account, but if user enables the secure login then it gives following message.. Here is my code i used for login self.fbGraph = [[FbGraph alloc] initWithFbClientID:client_id]; [fbGraph authenticateUserWithCallbackObject:self andSelector:@selector(fbGraphCallback:) andExtendedPermissions:@"user_photos,user_videos,publish_stream,offline_access,user_checkins,friends_checkins"]; EDIT: From suggestions from current answers, I have added