How to get facebook friends emails - ruby

I am working on ruby on rails application and here I need Facebook friends email ID's
I need to send an invitation to all of my friends(Facebook friends) as join in to my application by email.
So I need to get their email Id's. I have tried with omnicontacts Facebook, Koala and Graph API but I did not get email id's of my friends, I can get their names, uid, etc... but I need email ID's of my friends.
Can any one please suggest me any gem in rails application to sort out this problem with small snippet.
Thanks in advance

Use Facebook graph api email permission for more details use this reference https://github.com/nsanta/fbgraph

Related

how to get attendances Track from the Google API?

We are using the API of google calendar to create events and we have some invites to that, the problem is that we want to get the Attendance, we know that calendar has the feature Attendance Tracking, and that works perfectly, but we need to get that information from the google API. for now it sends me a email at the end of the meet with an excel with that information. but I need to get it from the API cos, we have a lot of meeting and need to update this information automaticly.
thanks a lot if you give some route or some idea to reach it!!!
I am triging to get this information from the caelndar API V3 following this doc but I just get the event info and attendees, but I need to get the Attendance.

Gem to post message on google plus?

Is there any gem to post message on google plus from our rails application ?. I want to post a meesage on my google plus page whenever i logged in my application using google plus credentials. Please suggest me the gem name to do this. Thanks in advance.
EDIT
I have a app in goole plus. On behalf of my application users, my app should post messages.
I suggest to use gem 'google_plus'`
As Google plus having so many restrictions. Still I would Like to Share a link you can follow that..
How to share content from our site to google plus
For more reference:
https://developers.google.com/accounts/docs/OAuth2
https://developers.google.com/+/web/share/interactive#button_attr_calltoactionurl
I hope it will work fine...
Yes, there's a Ruby client library provided by Google which allows you consume their Google+ API
https://developers.google.com/api-client-library/ruby/apis/plus/v1
UPDATE
The URL above points to Ruby client library. The API you're looking for is moments.insert
https://developers.google.com/+/api/latest/moments/insert
There is an official Google API Client gem. However the Google+ API does not allow standard automated posting to a profile. The recommended approach to share posts is the share button or the interactive share API.
The automated posting that Google+ does support are:
App activities/moments are a way to make actions within your app visible to other users of your app. They do not appear in the Google+ posts stream.
Domains API can be used with Google Apps accounts to create posts that are limited to users within the company.
Pages API can be used to post to a page (not a profile) but is limited to approved partners.

Is an email form to dynamic assigned recipients and senders in Rails possible?

I'm creating Rails app as a guide to restaurants whereby information is displayed regarding each restaurant, menus etc. It is a supporting website to an iOS app.
I would like to do allow the user to book or send an email to book a table on a restaurant. I'm storing both user and restaurant e-mails in my app.
I could easily do this in the iOS app using the Mail app but I'd like to offer the same functionality within my Rails version also. Is this possible?
Thanks.
As #CarlZulauf commented, you are looking for Rails e-mail interface. It is hard to help you here because you didn't explain to us what did you tried and what is not working. If you have problems, you might want to create a new question, or edit this one, including the info, otherwise it is impossible for any one to help you more than just give you the doc link.

Using linkedin API, which is the better way of know when was accepted my invitation

Which is the best way of know when was accepted an linkedin invitation using API?
I'm developing a social search web site using linkedin among other social networks.
In my site, any user, can add many linkedin user account to your site account, for then find people from linkedin using Linkedin People Search API (http://developer.linkedin.com/docs/DOC-1191.html)
with the peoples found, i could be to send and invitation or a direct message, depend of the level connection of linkedin account using for that...
Then, using Linkedin API, what is the best way to monitoring when the invitation was accepted?...
Per the documentation, there is no way to directly monitor messages or invitations that you send via the API to another user. So you'll need to come up with some way to monitor this off-line if it is something that you really need. One idea would be to keep track of the ID of the member's you are sending invitations to, and on subsequent (or periodic) calls to the Connections API, you could scan the returned list to see if any of the stored ID's are now connections, and take the appropriate action.
Hope this helps!

Displaying topic specific tweets in Twitter

I'd like to integrate Twitter into my app but keep the tweets specific to the app topic. For example, if the app is about recipes, all tweets on the built in Twitter client will be about recipes. Basically acting like a chat client about recipes.
However, I don't think Twitter works that way. You basically follow someone (say the app's Twitter name) and see tweets from the app's Twitter name. In this case, customers will follow the recipe app and can see its tweets. But I'd also like tweets from any followers to display in the Twitter client but only if they are relevant to the recipe app. In other words, I don't want anything a follower might tweet to appear. Meaning, they need to tweet under the recipe app for the tweet to appear. Maybe I'm confused about how Twitter works and this sort of focused tweeting won't be an issue. Can any one explain if this is possible?
Put a Hash Tag in the users tweets, such as #recipeappname. Then display tweets that only contain that Hash Tag.

Resources