facebook-graph-api

Is there a way to send a conversion event to Facebook using their API?

不问归期 提交于 2020-01-07 07:08:11
问题 I'm working on a SaaS service. There are certain events that happen on the backend which I'd like to use as conversions for Facebook Ads . I figured out there's a way to send a custom event using the Facebook js-pixel . I can't use JS for the events I'd like to track. Maybe it's possible to use something like a good old-fashioned cURL ? Thanks! 回答1: Yes, there is the Offline Conversions API With Facebook's Offline Conversions API you can send your offline conversion events using an offline

How do you create a facebook test user in ios using the facebook sdk

会有一股神秘感。 提交于 2020-01-07 06:44:06
问题 I have developed an iphone app that needs the email address of a facebook friend. Assuming that your friend has the app and has granted permissions for email and offline_access, then I believe it is possible to use: [facebook requestWithGraphPath:@"FRIEND_ID?fields=id,email" andDelegate:self]; to obtain their email address. For testing purposes and for submission to apple, how do you create within an ios app a facebook test user using the facebook sdk? Facebook provides the ability to create

Facebook OAuthException error “Invalid OAuth access token”

坚强是说给别人听的谎言 提交于 2020-01-07 06:36:23
问题 I'm walking through the marketing API quickstart and I am too the point where I have generated a user token with the graph api and then run the code below, but its telling me the token is invalid- I created it with all the permissions. I can use the graph api with the same token to do a GET-> me/adaccounts and it works, but running Python on my PC does not. #Add to header of your file from facebookads.api import FacebookAdsApi from facebookads import objects #Initialize a new Session and

Facebook graph api: years of public page posts missing that are visible in the web interface

瘦欲@ 提交于 2020-01-07 05:41:11
问题 All of a sudden posts on certain public pages seem to be missing when I try to access them with the Facebook Graph API. I know that they exist, I can see them in the web interface. Besides, I have downloaded them a couple of weeks ago. If you use the Facebook Graph API Explorer and try out this query: TeamStronach/posts?limit=50 you will get the posts of the page. If you jump back a couple of times (by clicking the link in the next field of the JSON result at the bottom) you will see that the

Is it possible to use Facebook's oAuth service without leaving users logged in to Facebook after they visit my site?

我是研究僧i 提交于 2020-01-07 05:36:06
问题 I've got a test MVC site set up, and configured to log users in to it using Facebook's authentication systems. Once users log out of my system, how do I ensure that the right thing happens wrt to the users being logged in to Facebook (ie, they revert to whatever state od logged in they were before visiting my site)? I'm relying on the FB api wrappers that are available to download through NuGet. Several of the examples I see include a facebook logout method that can be called through the API,

No permission to access invitable friends

十年热恋 提交于 2020-01-07 05:00:54
问题 I am developing an android game app and want to get a list of Facebook invitable friends. Unfortunately I hit this error: Response: responseCode: 400, graphObject: null, error: {HttpStatus: 400, errorCode: 100, errorType: OAuthException, errorMessage: (#100) No permission to access invitable_friends.} with code below. Code new GraphRequest( AccessToken.getCurrentAccessToken(), "/me/invitable_friends", null, HttpMethod.GET, new GraphRequest.Callback() { @Override public void onCompleted

Facebook leaderboard [closed]

旧时模样 提交于 2020-01-07 04:18:08
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 7 years ago . I was wondering whether anyone had any useful guides for implementing Facebook scores in an Android game. I am currently building a profile in-game but there are lots of features in the Facebook SDK and Graph API

Get Facebook ID from URL of any profile account

人走茶凉 提交于 2020-01-07 02:59:05
问题 I have a blog where people have their own profile page, and can also add their Facebook profile url. The idea would be to download automatically their Facebook events to their blog's personal page. People would just click on "get my Facebook events". For this it would first need to get their ID from the URL they added. The language I am using is PHP. Is it possible to get any ID from Facebook URL without being the owner of the account? 回答1: Without authorization, you do not get any data of a

Facebook sdk: Graph API in Android

我是研究僧i 提交于 2020-01-07 02:50:49
问题 In Facebook v1 graph api user id is the unique id for a user in multiple apps. But in graph api v2 the user id does not exist, only scope id exists and it is not unique for multiple apps. Is there any key or id which is unique for one user in multiple apps? 回答1: But in graph api v2 the user id does not exist, only scope id exists and it is not unique for multiple apps. I am pretty sure that app-scoped ids are still unique - they are just not the same for different apps (because that’s what

Unable to pass a response form facebook to another function

限于喜欢 提交于 2020-01-07 02:16:22
问题 If you view this question thank you in advance!, I am working on pulling data from Facebook. I am trying to pull the username from Facebook so i can use it in a later stage I have embedded the following code in the FB Root div. I know the retrieve works! however i am not able to pass it on to the function returndata I am relative new to javascript could you please help me out? i have tried everything There is an alert in there to check if it is retrieving data <div id="fb-root"></div> <script