Get all the Emails and contacts of gmail by gdata - iphone

I am making an application to get all the email and contacts of the gmail in my application . I managed to get gdata in my project by gadata-objective c-client-1.11.0.a.I googled for it but doesn't get much from it. Can any one help me with it by providing an example or tutorial as i am new to the iphone programming....
thanks

I done for getting contacts for logged in user.I loaded them in the table with contact name and email id of that contact.You try out this link for setting up gdata xcode in your project.
http://hoishing.wordpress.com/2011/08/23/gdata-objective-c-client-setup-in-xcode-4/
After integrating them in your project open up gdata contacts example and follow the method
- (IBAction)getFeedClicked:(id)sender
in that they called for getting group contact, but you give
- (void)fetchAllContacts
then you add the methods in your code what are all needed for that method, then at last you can get contacts entries.it is a array then you can load them in the table.

Related

Where are are IdentityUsers uploaded to the database?

I have created a ASP.net core web app with user authentication. The user authentication has been auto-implemented and it works like a charm. However, I need to do 2 things:
-Add a text field 'Name' to the user registration
-Write a record into another (custom-made) table when AspNetUsers is written to.
However, I can't seem to find where (meaning in what file/method) either of these things can be done.
I tried and debugged the web app, but it didn't help.
As I expect that IdentityUsers are written to the data base using DbContext.Add, I also searched for that but didn't help either.
Thank you in advance.
The following article explains everything: https://learn.microsoft.com/en-us/aspnet/core/security/authentication/scaffold-identity?view=aspnetcore-2.1&tabs=visual-studio .

Backand- Sign in error with facebook and google

Im developing an app with ionic framework and im using Backand as BaaS, im using the sign in with social accounts service that provides me, but when im trying to sign in with facebook, return this error.
The user is not signed up to 'name-of-my-app'.(signing in with facebook).
And when im trying to sign in with google, return this error:
Object reference is not set to an instance of an object.
Also im create my own apps in facebook and google and i set the AppId and AppSecret to Backand.
I dont know why im receiving this error, actually im ussing almost the same code that the starter's Backand provides.
I have met this kind of error "Object reference is not set to an instance of an object" too, after pressing "Validate & Update" button, after editing database json model several times in the backand control panel. I could save the new model and continue, but that red error was appearing on top right at each save. My hypothesis is that also in your case the issue is related to a bug in the database model editor. I personally got rid of that kind of error by deleting the project (I had no data in it yet) and creating a new one, re-pasting and saving all at once the exact same database model json I created in the previous project.

How to get the no of attachments in an email using objective-c?

Hi am new to xcode programing,i am trying an app regarding the email attachments to show the no of attachments an email contains,i got the single attachment showing but i need how n=many are there in particular email,if any body knows about this please help me.Here is the code regarding the app:
From looking solely at the code you have provided, it would appear that all you need is [attachments count] to provide the number of attachments in the current message

how to integrate twitter followers in iphone with all detail?

i have integrated twitter in my iphone App successfully and posted twits but in addition i need followers list with detail so how can i get my following and followers detail specially email id.
there is any API available or not for Followers and Following i search but i m getting no idea ..Please let me know if any one have any idea.
Thanks...
People following you(user)
https://dev.twitter.com/docs/api/1/get/followers/ids
example call : https://api.twitter.com/1/followers/ids.json?cursor=-1&screen_name=twitterapi
People you(user) are following
https://dev.twitter.com/docs/api/1/get/friends/ids
example call: https://api.twitter.com/1/friends/ids.json?cursor=-1&screen_name=twitterapi
. . . but you won't be able to get their email I.D's. This is private and privlaged information unavailable to to developers using the Twitter API.

export all the contact details from iphone

i want to export all the contact details of iphone and uplaod to server
is that posble from Xcode or i need a 3rd party software??
You can export the contact to XML string and pass it to Web service.
Exporting Contacts to xml by iterating over all contact to get the details like first name , last Name , Address ... etc.
hope this be helpful.