logo
down
shadow

Get game request ID / Access Facebook game request notification content


Get game request ID / Access Facebook game request notification content

By : Mr. PG
Date : November 20 2020, 11:01 PM
should help you out I am trying to send requests with data to Facebook friends in my app. The requests are successfully sent and I do get notifications. However the message on the notifications is not what I specify (the notification I get is xxxxx sent you a request. I specified Please help me with 5 lives). Also, I can't access any data of the request received. , I found it. the request should be "/me/apprequests"
so:
code :
FBSDKGraphRequest(graphPath: "/me/apprequests", parameters: nil).start(completionHandler: { (connection, user, requestError) -> Void in
})


Share : facebook icon twitter icon
How to delete a notification from a game request

How to delete a notification from a game request


By : bundi
Date : March 29 2020, 07:55 AM
like below fixes the issue Take a look at this topic here >>> Topic. It explains pretty fully how to handle apprequests.
Your code should look like this:
code :
$reqId = $_GET['request_ids']; // Get the id of the current request
$requests = $facebook->api('/me/apprequests/?request_ids='.$reqId);  //Get the request. Not sure if this is correct for specific request
$itemData = $requests[data][0][data];  //Get the data that was originally sent in the request

//Some code here to do whatever with the data

$delete_url = "https://graph.facebook.com/".$reqId."?access_token=".$token."&method=delete";

$result = file_get_contents($delete_url);  //Delete the request so there is only one there next time.
Facebook Android sdk Game Request Dialog shows "Game Requests are only available to games"

Facebook Android sdk Game Request Dialog shows "Game Requests are only available to games"


By : user3417445
Date : March 29 2020, 07:55 AM
I wish this help you You must set your Facebook app as a game category, in the App settings. Otherwise, you can't use GameRequestDialog, because your app is not a game. In this case, Facebook gives you AppInviteDialog.
Facebook not found error when clicking on notification sent from game request

Facebook not found error when clicking on notification sent from game request


By : grahamt
Date : March 29 2020, 07:55 AM
Hope this helps Having just suffered through this, the answer is not deep linking in and of itself. For an iOS app, even if you are using Apache Cordova, or Phonegap, and the Wizcorp interface to the FB iOS sdk, you need to follow the iOS setup instructions carefully that setup URL Schemes which is needed for deep linking. But as I say, that's not enough.
This problem seems to related to getting Facebook login approval. When you click on the notification and the app is not approved, which is the case if you putting this together for the first time, even if you've an app already public on Facebook (using just the iOS sdk to say track installs), then you get this error. Once you submit your app (including uploading it for review) and they approve it, clicking on the game invite 'magically' works.
Content not found error after clicking on game request notification on facebook

Content not found error after clicking on game request notification on facebook


By : eryw
Date : March 29 2020, 07:55 AM
fixed the issue. Will look into that further Finally, its working now. May be some facebook bug which they fixed and its working without any changes.
how to send a facebook game request in php

how to send a facebook game request in php


By : zm yang
Date : March 29 2020, 07:55 AM
should help you out You can send Request with Facebook Request Dialog. Try have a look with the following link:
http://developers.facebook.com/docs/reference/dialogs/requests/
Related Posts Related Posts :
  • TKChartDataPoint does not conform to expected type Sequence
  • IOS/Swift - Instance member 'app' cannot be used on type ERROR
  • Create show Case view In Tabbar xcode
  • Create IOS App with Cordova on Windows10
  • Get parent process information at runtime on iOS application
  • Destination attribute mapping not showing newly added attribute in xcmodelmappingmodel while Coredata migration
  • How to convert string to NSArray in iOS
  • Converting all Realm Objects to Dictionary at once
  • How to use DACircularProgressView in swift3?
  • Stop Core Data calculation?
  • issue and crash after deletion of last row
  • Multiple UNUserNotifications not firing
  • Drawing a rectangle under text on image Then save
  • auto adjust custom UITableViewCell and Label in it to the text
  • Only use pictures taken through the camera, iOS/Swift
  • UITableView objective-c not populating correctly
  • UNNotification: Custom Sound for LocalNotification is not playing in iOS10
  • Alamofire: How to download zip files sequentially within UITableView
  • iOS Google Tag Manager Integration: How to add multiple containers per App environment?
  • I am getting Exe_Bad_Access(code=1 address=0X38) when I am integrating the CCAvenue Payment Gate way in IOS
  • iOS How to set background image for text in UILabel/UITextView?
  • Notification localization is not working in iOS 10
  • how to show multiple lines in MKAnnotation with autolayout?
  • iOS Provisioning Profile Renewal Process with MDM
  • UITextView check whether text field is empty or not in Objective-C
  • How to open Add Contact form through app
  • Is there a way to recognize, that the app was installed thru firebase dynamic link in didFinishLaunchingWithOptions?
  • iOS - Support ipv4 only API
  • Get IndexPath Value in UICollectionViewCell Class
  • 2d NSArray with enumerated types in objective-c
  • Return the bool statement directly VS using if to return bool
  • Touch ID: Biometry is locked out. Code=-8
  • Values are not updating in my text label from api calling
  • how to manage Height of UITableHeaderView in based on webview content using auto layout
  • viewDidLoad vs ViewWillAppear in IOS
  • Presenting a detail view controller from a map annotation in swift 3?
  • What is industry standard for when to push/pull between core data and remote database
  • Error when moving objects between NSMutableArray
  • Assigning values to class instance from json output
  • Does Facebook SDK support Swift 2.3/3.0?
  • google maps iOS SDK: custom icons to be used as markers
  • Difficulty reading UserDefaults with Fastlane Snapshot
  • Find individual load time of Dynamic Libraries to identify which library consumes more time to load in IOS
  • Can I add local and remote notifications in my iMessage extension?
  • UIImage goes where i tap (But i need it so you can ONLY drag it)
  • How to handle launch options in Swift 3 when a notification is tapped? Getting syntax problems
  • Mismatched colors on UINavigationBar and UISearchBar
  • iOS app that collects data from "Accu-Chek Aviva Connect" BG meter. (Bluetooth Low Energy)
  • How to make a Sprite node spin when a user taps the screen? Swift 3
  • React Native (iOS) app loads nicely on wifi; crashes on LTE/cell
  • How to use GADRewardBasedVideoAd
  • Error opening shared document via CloudKit
  • SKPhysicsJointLimit has a elastic behaviour, but i need a strong rope simulation
  • Handing a response in a controller after segueing to another controller
  • Alamofire request gets stuck when entering background?
  • iOS swift: App Transport Security has blocked a cleartext HTTP (http://) resource
  • Full Screen layout for in Xcode 8
  • Provisioning Profile issue after switching to new iPhone in XCode 8
  • how can I center my map on the annotation view only when it is close to the edge of the screen?
  • How can I choose phone number in INSendPaymentIntent
  • shadow
    Privacy Policy - Terms - Contact Us © soohba.com