Actionscript 3 :: Facebook Actionscript Graph Api - Post To "/feed"?
Apr 14, 2011
i'm having a bit of trouble with the facebook actionscript graph api While i can get posting to "/feed" to work with Facebook.ui, (does a facebook popup), i can't seem to get it to work with Facebook.api here is my code:
[Code]...
View 1 Replies
Similar Posts:
Apr 4, 2012
I have a facebook application where the user choose 4 of his friends and then it creates a video (swf) with the pictures of your friends in it (loaded via xml). So I need to share this video on the user timeline. Everything works fine but the video is not embedded in the post on his timeline, there is only a post with the link to the page in it.The weird thing is, if I post the url directly on my timeline, the video is embedded, but not if the same link is posted via the application.here is my code called by the share button in js :
function postToFeed() {
var obj = {
method: 'feed',[code].........
View 1 Replies
Aug 29, 2011
Flash - How do I post a swf via graph api using PHP SDK
View 1 Replies
Oct 9, 2010
I have som porblem with Facebook Flash graph API I am receiving request, but realy when I check my wall in facebook FacebookDesktop.api not adds Like or unLike
private function likeClickHandler(event:MouseEvent):void{ handleLikeClick() } protected function populateLikeCount():void { if (intData.user_likes) { likeBtn.label = 'Unlike'; } else { likeBtn.label = 'Like'; } likesCount.text =
[code]....
View 1 Replies
May 7, 2011
how to get the user status, but the app I currently working on need to get user's friends statuses. Can I do this without needing user's friends to approve the app? I still can't find how to to this in the graph API.
View 1 Replies
Nov 8, 2011
After I upload a photo on a desktop facebook application i need to store it's post id in a database. From the facebook ActionScript SDK documentation:pi() methodpublic static function api(method:String, callback:Function, params:* = null, requestMethod:String = GET):voidMakes a new request on the Facebook Graph API.Parameters [...]callback:Function — Method that will be called when this request is complete The handler must have the signature of callback(result:Object, fail:Object); On success, result will be the object data returned from Facebook. On fail, result will be null and fail will contain information about the error.
So I implemented my callback function as follows:
protected function handleUploadComplete(response:Object, fail:Object):void{
status = (response) ? 'Success' : 'Error';
[code].....
View 1 Replies
Oct 8, 2010
There are some question on the StackOverflow about facebook & email, but after reading them I still have a problem with retrieving users emails.
Our app implemented on Flex and uses REST API. And previously it used notifications.sendEmail. App has publish_stream and email permissions (checked with users.hasAppPermission).
I tried users.getInfo for get proxied_email address. But this function does not return email address of the friend.. Then I performed the following test using Graph API and web browser: Opened the following link for authorization with extended permissions:
[Code]...
View 3 Replies
Jan 21, 2011
I'm wondering. Is it possible to create an external class just to initialize the API then use functions to call the different items? Like a shortcut to using the API without all the nitty gritty stuff.
View 1 Replies
Jan 24, 2011
I'm trying to upload a picture through the Graph API, but somehow it doesn't get through. Correct me if I'm wrong, but if I don't give an album ID, it should create an album by itself right? I'm a quite confused by that. Right now, I'm using
[Code]...
View 1 Replies
Jan 25, 2011
I'm asking this question because I can only find examples and answers for the PHP version. I need the Flash version. I'm trying to get my friends information, but I think I'm doing it wrong because if I trace it, it'll give me either [object Object] or undefined.
I did Facebook.api("me/friends", handleApiGet);
private function handleGetApi(success:Object, fail:Object):void
{
if (success)
{
[Code]....
ExternalInterface.call("doAlert", success) returns me [object Object], [object Object]. I also did ExternalInterface.call("doAlert", success.name), it returns me undefined.
View 1 Replies
Feb 1, 2011
I've been looking around the internet on how to use the PostRequest class given by the Facebook in their Graph Api, but I couldn't find anything on it. I'm wondering how to use it to upload a bitmapdata. It just doesn't seem to be moving at all
[Code]...
Both doesn't work, which puzzles me. The first one worked without encoding it in any way, so I don't get why it doesn't work when I try to just call it like that.
View 1 Replies
Jan 7, 2012
How to send photos to facebook with the graph API for mobile?
View 1 Replies
Apr 11, 2012
I'm trying to display some Facebook video thumbnails in a Flash application, all of the video thumbnails I try to load seem to be hosted at [URL]. However [URL] cannot be loaded (Access Denied). Is there some way around this? (other than loading the images through a proxy). Maybe an alternative url which can be used?
View 2 Replies
Jul 22, 2011
I can't set a picture as a user-created page wallpaper and i also cant "like" this same page using a Facebook Desktop Graph API request.how to use the Facebook Graph API for AS3 to change the wallpaper on a user created page and also set the "like" status for that page of a user? Is this even possible?
View 1 Replies
Jun 6, 2011
I'd like to know if you can stream someone's facebook feed in Flash. At the least, it seems you can stream an RSS feed in Flash (I'm not an advanced user, sorry if thats an obvious question), and since Facebook offers an RSS feed for each profile, I'd imagine I could stream that RSS feed.Is there a "standard" way to stream a Facebook feed in a full flash site? Is it possible at all?
View 5 Replies
Jul 14, 2011
Using Facebook.ui on the Facebook Api you can post a message to a friends wall.
var data:Object = new Object();
data.title = "title";
data.message = "message";
data.filters = [];
data.to = "friends_id"
Facebook.ui("feed", data, postOnFriendsWallCallback, "popup");
Is it possible to get a friendslist in that dialog, like you get when making a apprequest?
Facebook.ui("apprequests", data, postOnFriendsWallCallback, "popup");
Or is there another way to have the user choose one or more of his friends and posting a message on their wall using fb dialogs?
View 1 Replies
Mar 9, 2010
I am thinking of an AIR app that I can use as an RSS feed widget like stuff. In which I can post news and updates etc..using FMS.
View 4 Replies
Jan 26, 2011
Is there a way to perfectly load a Facebook News Feed inside Flash?Haven't been able to find anything so far..
View 5 Replies
Oct 9, 2009
Right direction, for making a facebook style new feed? I am trying to make a Feed that is updated with user comments!
View 3 Replies
Jan 26, 2010
Is there a way to post to a users Facebook wall via fbConnect? (php/as3) I can authenticate and pull info but not post anything. I have searched extensively and not found a working example or docs on how to post directly via AS3. My current work around is to external link to an Ajax page.
View 1 Replies
Sep 2, 2010
I published 2 days ago a Facebook app, it's a flash game, after the game over, the flash file POST score to my php file, Publish your score to wall if you beat your highscore, Facebook disabled the application because bad reviews from users.
How to POST from Falsh to PHP without redirecting the user, i want after the game over POST score, insert it in DB, and show the user Stream Publish popup if he want to publish to wall the score or not.
View 2 Replies
Jul 24, 2011
Is it possible to post a slideshow in your facebook newsfeed only using HTML/Javascript/CSS ?I think it is possible to post a slideshow using flash. But I'm hearing that FB is in the process of depreciating FBML, will this affect flash content too?
View 1 Replies
Dec 10, 2011
I'm writing an app for Android using Adobe AIR 3.0 and facebook action script 3 sdk to enable user social experience. I can't call facebook methods using ExternalInterface, so I have to make all request using GRAPH api. [URL]
So, working with this SDK, provide me with code example how can I post to users wall (text + URL link + image) using:
1) app requests
2) streamPublish.
View 1 Replies
Dec 15, 2011
In the comments of this question, users have commented that it's possible to insert a Flash applet into a Facebook wall post. I was under the impression this isn't possible without making a FB app.
I'm aware that FB will convert links to various media types - e.g. a link to a MP3 becomes automagically a SWF MP3 player, but the Flash applet used is chosen by FB's internal logic, not by the content of the post. Is it possible to embed a SWF applet of your own choosing?
As I haven't been able to find any documentation on this, has anyone else? Or, do you have some PoC code that does this?
View 2 Replies
Feb 29, 2012
I'm absolutely new to programming and just managed to learn the basics of ActionScript 3. Now, I would like to learn how to post on my Friends' Walls via the as3 SDK using the UI class (taken from a nice Tutorial):
[Code]...
View 1 Replies
Aug 14, 2010
I am trying to figure out why this is not working. I have a Flash .swf that is attempting to POST some variables to a .php file in the same location as my .swf. My facebook app is in FBML Canvas. Here is the function I am calling. The .php file is never receiving anything
public function sendData():void{
var request:URLRequest = new URLRequest("apps.facebook.com/MYAPPNAME/api/update.php");
request.method = URLRequestMethod.POST;
[code].....
View 0 Replies
Mar 27, 2012
I'm using the FB API and it's working fine. I can post a photo just fine, and I can post to the users wall with me/feed but I need the post to include a link to another FB page. I learned yesterday that you can't post a link within a wall post - ie the users feed, so I'm trying to post a like, but not having any luck.
View 2 Replies
Apr 15, 2010
I am building a Flash site and I want to be able to allow the user to post dynamically produced information to their Facebook wall, but I can't find out any information within the Facebook developers documentation.
Its simple enough in Javascript/HTML:
<script type="text/javascript">
function callPublish(msg, attachment, action_link) {
FB.ensureInit(function () {
[Code].....
As you can see I don't want to create sessions or login or anything complicated, just post to info to their wall.
View 2 Replies
Aug 25, 2010
I am creating a game that needs to be integrated with Facebook. The game is done and once the user complets that game it adds the button that send score to the Facebook wall of the user.
I have downloaded the Facebook api for flash and is able to connect to the user and get its id. But I don't know what command to use to post the score or message on users wall via swf.[code]...
View 1 Replies
Oct 7, 2010
Can someone point me to a simple example of posting to a user's facebook pages using a query string? ie I'm not using facebook connect.
View 1 Replies