i want to invite friends by posting on there wall with facebook sdk - facebook-javascript-sdk

My app is not a game and i want to invite friends by posting on there wall..
I tried this with
function newInvite(){
var receiverUserIds = FB.ui({
method : 'apprequests',
message: 'Come on man checkout my applications. visit http://ithinkdiff.net'
}
);
//http://developers.facebook.com/docs/reference/dialogs/requests/
}
but this does not work as it gives notification bt does not post on my friends wall

Posting on the wall of a friend (who does not even use your App) is not possible, Facebook removed that possibility a long time ago because it would always be spam.
The appropriate way to invite friends to your app is by using App Requests (only if it´s a game) or the send dialog.

Related

How can i check user interaction on a post, to notify user about his own reaction

I am working on a social media app and facing an issue, I want to mark liked posts, so the user see his own reaction a normal behavior like Facebook or and social media app,
what I do now is I send all the post reaction to the client side, loop throw them and if (user_id == post.user_id) then I know that client liked a post, and show something to tell user that he already liked that post.
I believe this will lead to bad performance because of the huge amount of reaction, my issue as I said it's all about detection of client reaction on posts when refreshing or loading posts.
I am using nodejs and SQL

creating instagram posts (video and photos) on behalf of users server side Scheduled

I wanted to create video or picture posts on behalf of an authenticated user (i have their access token after they logged in to my using instagram credentials) on a future time.
For example, user creates a video post tonight, and schedules it to be posted tomorrow at 7AM.
Is this possible?
I know there are companies out there like hootsuite that claim to allow to schedule posts for social media account but i've never used them and i want to create cloud service, so an SDK or API is what I'm looking for.
Their developer portal is very vague so i wanted to ask the community for some direction.
Facebook (owns instagram) has documentation on how to share feed post from your app to instagram, but it still requires the instagram app to open and for the user to tap/click the submit button.
https://developers.facebook.com/docs/instagram/sharing-to-feed/
any insights in the right direction is appreciated.

How to 'Go LIVE' with UBER API?

Ok, Let me explain in detail:
We are using the UBER API for building a Messenger BOT, so users can book an UBER from the BOT ( messenger.com/t/ghostinthebot )
Following are the 'Priviliges' we have enabled:
Click to view screen shot
We have added 5 developers to the UBER developer dashboard.
Now when we try to Book a UBER via. the BOT > It goes to the screen where it asks LOGIN to UBER.
On this screen, only the developers we have added in the dashboard are able to login. If someone else tries, it gives an error: { statusCode: 401, data: '{"error": "invalid_grant"}' }.
So, we were under the impression that maybe there is a GO LIVE procedure for it to work for all. But just got the response from UBER that there is no such thing as GO LIVE.
The issue is resolved I guess. The issue was on using the Privileged Scopes. So, we would need to REQUEST FULL ACCESS. Thanks!

Sharing on Google+ Stream after authorisation

I have been trying to post on user's wall from my application. Even I am completed with facebook, Linkedin, Twitter. What I did is after authorising properly from these application I finally saved its token. And with that I did to post it on their wall if they are posting on my application.
Now continuing with that I want same with Google+. Though I am completed with Google+ authorisation and saved token in my DB. How can I post on Google+ on their wall or on my profile page with it. Or In google terms how can I share on user's stream.
I have tried to create box on my page and on clicking that popup window open to post on G+. What I want is if user is registered than It automatically goes to its stream not in conventional button clicking way what they have provided.
Is that Possible ??
The Google+ API does not give you write access to the user's stream.
Instead you should use:
- app activities: https://developers.google.com/+/features/app-activities if you want to surface the user's actions across Google
- Share plugin: https://developers.google.com/+/web/share/ for user-initiated sharing
- Interactive posts: https://developers.google.com/+/features/interactive-posts for user-initiated sharing with an explicit call-to-action and deeplinking on mobile platforms

Get friends of an user

An user X joined my application but he is not my friend, so I would like to see his friends, write in their walls, etc. Is it possible using the REST API?
Also, is possible to send a friend request to some user using the API?
Apparently, you could using the REST API: target_id.
"This mimics the action of posting on a friend's Wall on Facebook itself."
- http://developers.facebook.com/docs/reference/rest/stream.publish/
However, I think, for new applications, you'd better use not-deprecated methods.